CVE-2023-32680
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. High risk of data exposure.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 5.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-306 · Missing authentication
- Record status
- Modified
Affected
- Metabase < 0.44.7
- Metabase < 0.45.4
- Metabase < 0.46.3
- Metabase < 1.44.7
- Metabase < 1.45.4
- Metabase < 1.46.3
Attack profile CVSS 3.1 · 5.8
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-32680.md and follow it. Check whether this project is affected by CVE-2023-32680. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/metabase/metabase/pull/30852
- https://github.com/metabase/metabase/pull/30853
- https://github.com/metabase/metabase/pull/30854
- https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv
- https://github.com/metabase/metabase/pull/30852
- https://github.com/metabase/metabase/pull/30853
- https://github.com/metabase/metabase/pull/30854
- https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv
References
- https://github.com/metabase/metabase/pull/30852
- https://github.com/metabase/metabase/pull/30853
- https://github.com/metabase/metabase/pull/30854
- https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv
- https://github.com/metabase/metabase/pull/30852
- https://github.com/metabase/metabase/pull/30853
- https://github.com/metabase/metabase/pull/30854
- https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv