Patchfirst
CVE-2021-41277 KEVPublic exploit High · 7.5 EPSS 97.2%

Metabase GeoJSON API Local File Inclusion Vulnerability

Metabase · Metabase

Summary

The flaw is in Metabase's custom GeoJSON map support, reached through the admin settings for custom maps, where URLs were not validated before being loaded, enabling local file inclusion. An attacker with network access and no authentication or user interaction could read local files on the server, including environment variables.

Official description · NVD

Metabase is an open source data analytics platform. In affected versions a security issue has been discovered with the custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support and potential local file inclusion (including environment variables). URLs were not validated prior to being loaded. This issue is fixed in a new maintenance release (0.40.5 and 1.40.5), and any subsequent release after that. If you’re unable to upgrade immediately, you can mitigate this by including rules in your reverse proxy or load balancer or WAF to provide a validation filter before the application.

Breakdown
68.2 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 6 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 4 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+4 days
  3. First seen exploitedVulnCheck KEV evidence+6 mo
  4. Added to CISA KEVEU database agrees+3 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Public-facing admin map feature exploited remotely

custom GeoJSON map (`admin->settings->maps->custom maps->add a map`) support
From the official description (NVD) Original (opens in a new tab) ↗

CollectionTA0009

Data from Local System T1005 Medium
AI mapping from the description · primary impact

Reads arbitrary local files and environment variables

potential local file inclusion (including environment variables)
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 163 general rules for its techniques

Rules for this CVE

0 that reference CVE-2021-41277 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (2 duplicates merged)
↑ ↓ chooseEnter openEsc close