Description Preview
Overview
CVE-2023-32680 affects Metabase, an open source business analytics engine. The vulnerability stems from a failure to properly enforce permissions for SQL snippet editing. Metabase should have required users to be in at least one group with native query editing permissions to a database before allowing them to edit SQL snippets, but this check was missing in affected versions.
As a result, any user, including those in sandboxed groups with restricted access, could edit SQL snippets through the API or when editing metadata for models based on SQL questions. This is particularly concerning when SQL snippets contain logic that restricts data access, as users could modify these snippets to bypass intended access controls and view data they shouldn't have permission to access.
Remediation
The vulnerability has been patched in the following Metabase versions:
- 0.46.3
- 0.45.4
- 0.44.7
- 1.46.3
- 1.45.4
- 1.44.7
Users should upgrade to one of these patched versions as soon as possible.
For users unable to immediately upgrade, a workaround is to ensure that SQL queries used to create sandboxes do not include SQL snippets, as these could be manipulated to bypass access controls.
References
- Vendor Advisory: https://github.com/metabase/metabase/security/advisories/GHSA-mw6j-f894-4qxv
- Patch: https://github.com/metabase/metabase/pull/30852
- Patch: https://github.com/metabase/metabase/pull/30853
- Patch: https://github.com/metabase/metabase/pull/30854
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- ManufacturingManufacturing
- Retail TradeRetail Trade
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade