CrowdSec
5/10CrowdSec Score

Metabase - Local File Inclusion (CVE-2021-41277)

Published on17-11-2021
First seen on27-11-2024

171Exploiting IPs reported

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.

CrowdSec analysis

CVE-2021-41277 is a critical vulnerability in Metabase that enables attackers to conduct unauthenticated local file inclusion by leveraging improperly validated custom GeoJSON map URLs.

CrowdSec has been tracking this vulnerability and its exploits since 10th of March 2025.

CrowdSec network observations suggest that most exploitation of CVE-2021-41277 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2021-41277. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.

Exploitation attempts are notably identified through requests to URLs containing /api/geojson?url=file:///etc/passwd.

Exploitation

Get real-time information about exploitation attempts and actors involved.

Detected IPs

Discover the IPs that targeted this vulnerability across the CrowdSec Network.

Protection

Find out relevant information to protect your stack against this CVE.

Blocklist

With our advanced worldwide network detection, CrowdSec can provide a list of IPs known for exploiting the vulnerability.

To increase your protection against this CVE, block exploitation attempts with this list of identified actors.