10.0
CRITICAL
CVE-2023-37470
Metabase Remote Code Execution Vulnerability
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.

INFO

Published Date :

Aug. 4, 2023, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 8:11 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2023-37470 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-37470 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Metabase metabase
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-37470.

URL Resource
https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83 Mitigation Patch Third Party Advisory
https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83 Mitigation Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 8 months, 1 week ago
0 stars 1 fork 1 watcher
Born at : April 10, 2024, 10 a.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-37470 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-37470 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 09, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83 No Types Assigned https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83 Mitigation, Patch, Third Party Advisory
    Added CWE NIST CWE-94
    Added CPE Configuration OR *cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* versions up to (excluding) 0.43.7.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* versions from (including) 0.44.0 up to (excluding) 0.44.7.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* versions from (including) 0.45.0 up to (excluding) 0.45.4.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:-:*:*:* versions from (including) 0.46.0 up to (excluding) 0.46.6.4 *cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* versions up to (excluding) 1.43.7.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* versions from (including) 1.44.0 up to (excluding) 1.44.7.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* versions from (including) 1.45.0 up to (excluding) 1.45.4.3 *cpe:2.3:a:metabase:metabase:*:*:*:*:enterprise:*:*:* versions from (including) 1.46.0 up to (excluding) 1.46.6.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-37470 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-37470 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.62 }} 0.04%

score

0.78587

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability