Database bypassing any permissions in Metabase via SQlite attach
概要
Database bypassing any permissions in Metabase via SQlite attach
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
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.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web sqlite.org