CVE-2023-32680: Missing SQL permissions check in metabase
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.
Affected Software
Remediation
Patch Available
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is CVE-2023-32680?
CVE-2023-32680 is a vulnerability in Metabase, an open source business analytics engine, where affected versions did not enforce the requirement for users to be in at least one group with native query editing permissions, allowing unauthorized users to edit SQL snippets.
How severe is CVE-2023-32680?
CVE-2023-32680 has a severity rating of 9.6, which is classified as critical.
Which versions of Metabase are affected by CVE-2023-32680?
Metabase versions 0.44.7 to 0.46.3 and versions 1.0.0 to 1.46.3 are affected by CVE-2023-32680.
How can I fix CVE-2023-32680?
To fix CVE-2023-32680, update your Metabase installation to version 0.45.4 or higher for versions 0.x.x, and version 1.45.4 or higher for versions 1.x.x.
What is the Common Weakness Enumeration (CWE) ID for CVE-2023-32680?
The Common Weakness Enumeration (CWE) ID for CVE-2023-32680 is 306.