Lucene search
K

Metabase 0.43.x < 0.43.7.3 / 0.44.x < 0.44.7.3 /0.45.x < 0.45.4.3 / 0.46.x < 0.46.6.4 / 1.43.x < 1.43.7.3 / 1.44.x < 1.44.7.3 / 1.45.x < 1.45.4.3 / 1.46.x < 1.46.6.4

🗓️ 09 Sep 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

Metabase remote code execution via H2 connection strings; fixed by removing H2 support.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# Tenable, Inc.
## 
include('compat.inc');

if (description)
{
  script_id(261770);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/09/09");

  script_name(english:"Metabase 0.43.x < 0.43.7.3 / 0.44.x < 0.44.7.3 /0.45.x < 0.45.4.3 / 0.46.x < 0.46.6.4 / 1.43.x < 1.43.7.3 / 1.44.x < 1.44.7.3 / 1.45.x < 1.45.4.3 / 1.46.x < 1.46.6.4");
  script_cve_id("CVE-2023-37470");
  script_cwe_id("CWE-94"); 

  script_set_attribute(attribute:"synopsis", value:
  "The remote host is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
  "The version of Metabase installed on the remote host is affected by a remote code execution vulnerability. 
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. This issue was fixed 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`. 

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.");
  # https://github.com/metabase/metabase/security/advisories/GHSA-p7w3-9m58-rq83
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a63249c4");
  script_set_attribute(attribute:"solution", value:
  "Upgrade to Metabase version 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, 1.46.6.4, or later.");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:metabase:metabase");

  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2023-37470");

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/08/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/08/04");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/09/09");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");
  script_dependencies("metabase_detect.nbin");
  script_require_keys("installed_sw/Metabase");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  exit(0);
}

include('vcf.inc');

var app_info = vcf::get_app_info(app:'Metabase');

# 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
var constraints = [
    { 'min_version':'0.43', 'fixed_version':'0.43.7.3' },
    { 'min_version':'0.44', 'fixed_version':'0.44.7.3' },
    { 'min_version':'0.45', 'fixed_version':'0.45.4.3' },
    { 'min_version':'0.46', 'fixed_version':'0.46.6.4' },
    { 'min_version':'1.44', 'fixed_version':'1.44.7.3' },
    { 'min_version':'1.44', 'fixed_version':'1.44.7.3' },
    { 'min_version':'1.45', 'fixed_version':'1.45.4.4' },
    { 'min_version':'1.46', 'fixed_version':'1.46.6.4' }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);
        

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

09 Sep 2025 00:00Current
9.1High risk
Vulners AI Score9.1
CVSS 3.19.8 - 10
EPSS0.03148
SSVC
3