Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 9.6
- Impact score
- 5.8
- Exploitability score
- 3.1
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Severity
- CRITICAL
Weaknesses
- security-advisories@github.com
- CWE-306
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "224A57A1-0426-402D-B2AB-A7909F995D27", "versionEndExcluding": "0.44.7" }, { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "426C2FA2-C43E-4E09-8995-26E4E8254C9C", "versionEndExcluding": "0.45.4", "versionStartIncluding": "0.45.0" }, { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6D569869-9451-48ED-8C82-CFC560A830E5", "versionEndExcluding": "0.46.3", "versionStartIncluding": "0.46.0" }, { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6024329D-A315-45C7-BE88-9AE30787DACE", "versionEndExcluding": "1.44.7", "versionStartIncluding": "1.0.0" }, { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7C8547BD-E4C3-45EB-9294-A9CDF88303EE", "versionEndExcluding": "1.45.4", "versionStartIncluding": "1.45.0" }, { "criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A3A7E247-05AE-43A6-A924-CB6B62679CD7", "versionEndExcluding": "1.46.3", "versionStartIncluding": "1.46.0" } ], "operator": "OR" } ] } ]