9.6
CRITICAL
CVE-2023-32680
Metabase SQL Snippet Privilege Escalation Vulnerability
Description

Metabase is an open source business analytics engine. To edit SQL Snippets, Metabase should have required people to be in at least one group with native query editing permissions to a database–but affected versions of Metabase didn't enforce that requirement. This lack of enforcement meant that: Anyone–including people in sandboxed groups–could edit SQL snippets. They could edit snippets via the API or, in the application UI, when editing the metadata for a model based on a SQL question, and people in sandboxed groups could edit a SQL snippet used in a query that creates their sandbox. If the snippet contained logic that restricted which data that person could see, they could potentially edit that snippet and change their level of data access. The permissions model for SQL snippets has been fixed in Metabase versions 0.46.3, 0.45.4, 0.44.7, 1.46.3, 1.45.4, and 1.44.7. Users are advised to upgrade. Users unable to upgrade should ensure that SQL queries used to create sandboxes exclude SQL snippets.

INFO

Published Date :

May 18, 2023, 11:15 p.m.

Last Modified :

May 26, 2023, 2:12 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.8

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2023-32680 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Metabase metabase
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-32680.

URL Resource
https://github.com/metabase/metabase/pull/30852 Patch
https://github.com/metabase/metabase/pull/30853 Patch
https://github.com/metabase/metabase/pull/30854 Patch
https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-32680 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-32680 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    May. 26, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
    Changed Reference Type https://github.com/metabase/metabase/pull/30852 No Types Assigned https://github.com/metabase/metabase/pull/30852 Patch
    Changed Reference Type https://github.com/metabase/metabase/pull/30853 No Types Assigned https://github.com/metabase/metabase/pull/30853 Patch
    Changed Reference Type https://github.com/metabase/metabase/pull/30854 No Types Assigned https://github.com/metabase/metabase/pull/30854 Patch
    Changed Reference Type https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv No Types Assigned https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions up to (excluding) 0.44.7 *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions from (including) 0.45.0 up to (excluding) 0.45.4 *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions from (including) 0.46.0 up to (excluding) 0.46.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions from (including) 1.0.0 up to (excluding) 1.44.7 *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions from (including) 1.45.0 up to (excluding) 1.45.4 *cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:* versions from (including) 1.46.0 up to (excluding) 1.46.3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-32680 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.11 }} -0.03%

score

0.44941

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability