Metabase by metabase: GeoJSON proxy file access can expose Windows NTLM password hashes

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2022-24853?

CVE-2022-24853 is a vulnerability classified as Exposure of Sensitive Information to an Unauthorized Actor, affecting metabase (affected versions: >= 1.40.0, < 1.40.7, >= 0.40.0, < 0.40.7, and other affected versions). This vulnerability is rated Medium, with a CVSS score of 5.9. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

Metabase is an open source business intelligence and analytics application. Metabase has a proxy to load arbitrary URLs for JSON maps as part of our GeoJSON support. While we do validation to not return contents of arbitrary URLs, there is a case where a particularly crafted request could result in file access on windows, which allows enabling an NTLM relay attack, potentially allowing an attacker to receive the system password hash. If you use Windows and are on this version of Metabase, please upgrade immediately. The following patches (or greater versions) are available: 0.42.4 and 1.42.4, 0.41.7 and 1.41.7, 0.40.8 and 1.40.8.

Affected products and scope

The advisory identifies Metabase OSS and Enterprise as affected. Windows is the platform condition explicitly described; this entry does not establish that non-Windows deployments are affected.

  • 1.40 branch: >= 1.40.0, < 1.40.7 is affected.
  • 0.40 branch: >= 0.40.0, < 0.40.7 is affected.
  • 1.41 branch: >= 1.41.0, < 1.41.6 is affected.
  • 0.41 branch: >= 0.41.0, < 0.41.6 is affected.
  • 1.42 branch: >= 1.42.0, < 1.42.3 is affected.
  • 0.42 branch: >= 0.42.0, < 0.42.3 is affected.

The vendor lists 0.40.8, 1.40.8, 0.41.7, 1.41.7, 0.42.4, and 1.42.4 as fixed releases for the corresponding branches. The status of other branches is not inferred solely from the existence of these fixes.

Technical details

The flaw is in the proxy Metabase uses to load URLs for JSON maps through its GeoJSON support. The URL value is attacker-controlled; although the application validates URLs to avoid returning arbitrary URL contents, a specially crafted request can still cause a Windows server to access a local file or remote resource. Public technical analysis identifies the related endpoint as /api/geojson and reports that this behavior can trigger NTLMv2 authentication to a remote system, exposing the password hash of the account running Metabase. The exact parser differential or validation bypass conditions in the fixed implementation are not fully disclosed. The normalized record classifies the issue as CWE-200, while the vendor advisory displays CWE-294; this taxonomy difference does not change the remediation action.

Exploitability

The CNA assessment describes a network-reachable request with high attack complexity, no privileges required, and no user interaction required. In contrast, Secure77's public technical analysis reports reproducing the issue on Windows with an authenticated Metabase administrator session and describes the possibility of luring a logged-in administrator into issuing a malicious GET request. Because these sources differ on authentication and user interaction, deployments should not be assumed to be uniformly exploitable without authentication or without user involvement. The supplied record marks a public exploit as available; the retrieved enrichment also describes proof-of-concept exploitation as non-automatable. The supplied data does not confirm known exploitation or association with a ransomware campaign.

Technical impact

The flaw can turn a request to the GeoJSON proxy into file access on Windows, then create an NTLM interaction that may expose the password hash of the account running Metabase. The primary technical outcome is loss of credential confidentiality; exposure of a hash does not establish that the plaintext password was obtained, but it may support relay or other abuse depending on the environment. If the service account has broad privileges, the organizational consequences could include expanded internal access or credential replacement, but that is deployment-dependent rather than confirmed for every installation. The record does not establish an integrity or availability impact and does not identify a specific compromise.

Business impact

  • The password hash of the account running Metabase may be exposed from a Windows server, potentially enabling NTLM relay or other credential abuse depending on the account's permissions and security controls.
  • If Metabase runs under a highly privileged or domain-linked account, the potential internal access consequences could be greater, although the record does not confirm a specific lateral-movement scenario.
  • The established consequence is primarily credential and confidentiality exposure. The available evidence does not establish data modification, application takeover, or service interruption.
  • A public exploit designation alone does not establish that a breach occurred; host and network telemetry must be investigated separately for each environment.

Remediation

  1. Upgrade each affected branch to the corresponding fixed release listed by the vendor:
  • Upgrade the 0.40 branch to 0.40.8 and the 1.40 branch to 1.40.8.
  • Upgrade the 0.41 branch to 0.41.7 and the 1.41 branch to 1.41.7.
  • Upgrade the 0.42 branch to 0.42.4 and the 1.42 branch to 1.42.4.
  1. Prioritize Windows servers and verify the installed version after upgrading using the actual deployment artifact or software-management data, not only the application interface.
  2. If the installed release is outside the listed branches, do not automatically treat it as safe; confirm its status against the vendor's support and security information.
  3. The reviewed advisory does not provide a specific temporary mitigation. While an upgrade is pending, limit unnecessary access to the instance and monitor unusual GeoJSON requests or outbound NTLM connections only as temporary risk-reduction measures, not as substitutes for upgrading.
  4. If suspicious requests or unexpected outbound NTLM authentication are found, follow the organization's incident-response process, assess possible credential exposure, and handle the affected account under the organization's credential-management procedures.

Detection

  • Inventory all Metabase OSS and Enterprise deployments, record their actual versions and host operating systems, and prioritize Windows servers.
  • Identify deployments using GeoJSON and custom-map functionality, then review web or application logs for requests to /api/geojson containing unusual URL schemes or other unexpected URL forms. This is a threat-hunting check based on public analysis, not a vendor-confirmed IOC.
  • Review outbound traffic from Metabase servers for NTLM authentication to unexpected remote hosts, especially near unusual GeoJSON requests.
  • If such activity is found, preserve logs and investigate whether the password hash of the Metabase service account may have been exposed; absence of matching log evidence does not prove safety.
  • Compare each installed version with the affected branches and corresponding fixed release before marking a deployment as unaffected.
Sources (17)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.