Vulnerabilities · 2022 · Metabase
CVE-2022-24854
Metabase vulnerability
Metabase is an open source business intelligence and analytics application. SQLite has an FDW-like feature called `ATTACH DATABASE`, which allows connecting multiple SQLite databases via the initial connection. If the attacker has SQL permissions to at least one SQLite database, then it can attach this database to a second database, and then it can query across all the tables. To be able to do that the attacker also needs to know the file path to the second database. Users are advised to upgrade as soon as possible. If you're unable to upgrade, you can modify your SQLIte connection strings to contain the url argument `?limit_attached=0`, which will disallow making connections to other SQLite databases. Only users making use of SQLite are affected.
Affected products
Metabase. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Metabase runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/metabase/metabase/security/advisories/GHSA-vm79-xvmp-7329 · Third Party Advisory
- www.sqlite.org/lang_attach.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-24854
- cve.org/CVERecord?id=CVE-2022-24854
More vulnerabilities in Metabase products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.