CVE-2021-41277KEV · OVERDUECWE-200CWE-22path-traversalinformation-disclosure

Metabase GeoJSON API Local File Inclusion Vulnerability

Critical · published November 18, 2021

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 10.0. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

689
days past CISA
deadline
CVSS v3.1
10.0
EPSS
97%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 An ill-checked URL could expose sensitive files in Metabase. This local file inclusion flaw skips validations like a delivery driver ignoring address details, leading to unexpected data leaks! 🔥 Think of it as a delivery service that blindly accepts any address without verifying if it exists. Just like a courier might end up at the wrong place, this vulnerability lets attackers pull in local files, including sensitive environment variables, without proper checks. An attacker exploiting this vulnerability could access confidential information stored on your server, like environment variables or even user data. This breach could lead to severe ramifications, from leaking sensitive configurations to potentially compromising your entire system!

Put simply

Think of it as a delivery service that blindly accepts any address without verifying if it exists. Just like a courier might end up at the wrong place, this vulnerability lets attackers pull in local files, including sensitive environment variables, without proper checks. CVE-2021-41277 allows for local file inclusion due to insufficient URL validation in the custom GeoJSON map feature of Metabase, exposing sensitive files and information to attackers.

What to do

An attacker exploiting this vulnerability could access confidential information stored on your server, like environment variables or even user data. This breach could lead to severe ramifications, from leaking sensitive configurations to potentially compromising your entire system! Upgrade Metabase to version 0.40.5 or 1.40.5 or any subsequent release immediately. If an upgrade isn't feasible right away, implement validation filters in your reverse proxy or web application firewall to mitigate risks until you can fully update. You've got this! With these steps, you'll fortify your defenses and keep your data safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.97178 · 99.9th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2021-11-18T01:15Z
KEV added
2024-11-12 · due 2024-12-03
Affected products (10)
ProductVersionsFixed in
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
metabase/metabaseall versions—
References (5)
EPSS history
Timeline
  • 12 NOV 00:00Z
    Added to CISA KEV — remediate by Dec 3
    kev
  • 17 NOV 20:05Z
    GeoJSON URL validation can expose server files and environment variables to unauthorized users
    cvelistv5