- Description
- Metabase is an open-source business intelligence and analytics platform. Prior to versions 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, and 1.46.6.4, a vulnerability could potentially allow remote code execution on one's Metabase server. The core issue is that one of the supported data warehouses (an embedded in-memory database H2), exposes a number of ways for a connection string to include code that is then executed by the process running the embedded database. Because Metabase allows users to connect to databases, this means that a user supplied string can be used to inject executable code. Metabase allows users to validate their connection string before adding a database (including on setup), and this validation API was the primary vector used as it can be called without validation. Versions 0.43.7.3, 0.44.7.3, 0.45.4.3, 0.46.6.4, 1.43.7.3, 1.44.7.3, 1.45.4.3, and 1.46.6.4 fix this issue by removing the ability of users to add H2 databases entirely. As a workaround, it is possible to block these vulnerabilities at the network level by blocking the endpoints `POST /api/database`, `PUT /api/database/:id`, and `POST /api/setup/validateuntil`. Those who use H2 as a file-based database should migrate to SQLite.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AFE116C8-B5B5-48CE-873D-1E508D1A656A",
"versionEndExcluding": "0.43.7.3"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "97C698D2-6F8A-4BD4-BC29-80086F1F87C0",
"versionEndExcluding": "1.43.7.3"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:*",
"vulnerable": true,
"matchCriteriaId": "36C340AD-358E-478B-B75C-4A0A8F52F6C6",
"versionEndExcluding": "0.44.7.3",
"versionStartIncluding": "0.44.0"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A23C9D19-21F7-4529-8CF7-C20DACA524F3",
"versionEndExcluding": "0.45.4.3",
"versionStartIncluding": "0.45.0"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:*",
"vulnerable": true,
"matchCriteriaId": "87EA14BE-A683-44D4-904D-3DEB8A672958",
"versionEndExcluding": "0.46.6.4",
"versionStartIncluding": "0.46.0"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A4F52A25-3933-4D5D-A69F-073D31C079D2",
"versionEndExcluding": "1.44.7.3",
"versionStartIncluding": "1.44.0"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0ECC070D-27E2-40A2-A0D4-E818CBAB857D",
"versionEndExcluding": "1.45.4.3",
"versionStartIncluding": "1.45.0"
},
{
"criteria": "cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E025C478-8650-4B5E-B92F-9ACD2AA4C8C2",
"versionEndExcluding": "1.46.6.4",
"versionStartIncluding": "1.46.0"
}
],
"operator": "OR"
}
]
}
]