CVE-2021-41277criticalunder attackCWE-200

CVE-2021-41277: critical vulnerability in metabase

GeoJSON URL validation can expose server files and environment variables to unauthorized users

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 10epss 97%
from disclosure to weapon4 days
Published on NVDNov 17
1st PoC+4d
CISA KEV+1091d
Action required by CISAfederal deadline: 2024-12-03

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

In short

Metabase failed to validate URLs when loading custom GeoJSON maps, allowing attackers to access sensitive files and environment variables on the server without authorization.

Technical detail

CWE-200/CWE-22: The application accepts arbitrary URLs in the GeoJSON map configuration endpoint without validation, enabling server-side request forgery (SSRF) and local file inclusion (LFI) attacks. An unauthenticated or low-privileged user can load file:// URLs to read local files and environment variables, exposing sensitive configuration data. Fixed in versions 0.40.5, 1.40.5, and later.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
Affected products
metabase · metabase
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.