Lucene search

K
cve[email protected]CVE-2023-37470
HistoryAug 04, 2023 - 4:15 p.m.

CVE-2023-37470

2023-08-0416:15:09
CWE-94
web.nvd.nist.gov
2427
cve-2023
metabase
vulnerability
remote code execution
h2 database
sqlite migration
nvd

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

64.8%

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.

Affected configurations

Vulners
NVD
Node
metabasemetabaseRange<0.43.7.3
OR
metabasemetabaseRange0.44.0.00.44.7.3
OR
metabasemetabaseRange0.45.0.00.45.4.3
OR
metabasemetabaseRange0.46.0.00.46.6.4
OR
metabasemetabaseRange1.0.01.43.7.3
OR
metabasemetabaseRange1.44.0.01.44.7.3
OR
metabasemetabaseRange1.45.0.01.45.4.3
OR
metabasemetabaseRange1.46.0.01.46.6.4
VendorProductVersionCPE
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*
metabasemetabase*cpe:2.3:a:metabase:metabase:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "metabase",
    "product": "metabase",
    "versions": [
      {
        "version": "< 0.43.7.3",
        "status": "affected"
      },
      {
        "version": ">= 0.44.0.0, < 0.44.7.3",
        "status": "affected"
      },
      {
        "version": ">= 0.45.0.0, < 0.45.4.3",
        "status": "affected"
      },
      {
        "version": ">= 0.46.0.0, < 0.46.6.4",
        "status": "affected"
      },
      {
        "version": ">= 1.0.0, < 1.43.7.3",
        "status": "affected"
      },
      {
        "version": ">= 1.44.0.0, < 1.44.7.3",
        "status": "affected"
      },
      {
        "version": ">= 1.45.0.0, < 1.45.4.3",
        "status": "affected"
      },
      {
        "version": ">= 1.46.0.0, < 1.46.6.4",
        "status": "affected"
      }
    ]
  }
]

10 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

9.7 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

64.8%

Related for CVE-2023-37470