CVE-2022-24854CWE-610

Database bypassing any permissions in Metabase via SQlite attach

High · published April 14, 2022

CVSS v3.1
8.0
EPSS
1%
Percentile
64.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.0 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01053 · 64.1th percentile
Weakness
CWE-610 · Externally Controlled Reference to a Resource in Another Sphere
Published
2022-04-14T21:40Z
EPSS history
Timeline
  • 14 APR 21:40Z
    Database bypassing any permissions in Metabase via SQlite attach
    cvelistv5