# CVE-2021-3129: Laravel with Ignition - RCE

> Live exploitation tracking for CVE-2021-3129 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2021-3129

## Key facts

- **Exploitation phase:** Background Noise. Continuous low-level scanning or exploitation attempts are observed, mostly opportunistic and automated.
- **CVSS score:** 9.8
- **Public exploit available:** Yes
- **Affected products:** Facade Ignition, Laravel
- **Weaknesses:** CWE-94 (Improper Control of Generation of Code ('Code Injection'))
- **Tags:** web_application

## Description

Ignition before 2.5.2, as used in Laravel and other products, allows unauthenticated remote attackers to execute arbitrary code because of insecure usage of file_get_contents() and file_put_contents(). This is exploitable on sites using debug mode with Laravel before 8.4.2.

## CrowdSec analysis

[CVE-2021-3129](https://euvd.enisa.europa.eu/vulnerability/CVE-2021-3129) is a critical vulnerability in Ignition, impacting Laravel applications with debug mode enabled. It allows unauthenticated remote attackers to execute arbitrary code due to insecure file handling.

CrowdSec has been tracking this vulnerability and its exploits since 15th of December 2023.

CrowdSec network data shows that most actors exploiting CVE-2021-3129 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature.
Additionally, according to week-over-week analysis by CrowdSec, exploitation of CVE-2021-3129 is surging. Attack volumes are spiking well above historical norms, indicating widespread and escalating interest from threat actors. CVE-2021-3129 is currently experiencing high visibility and active exploitation across the internet.

Exploitation attempts commonly target URLs containing `/_ignition/execute-solution`.

## Timeline

- 2021-01-12: CVE Published. CVE-2021-3129 is published to NVD.
- 2023-09-18: CISA KEV. CVE-2021-3129 is added to the Known Exploited Vulnerabilities catalog by CISA.
- 2023-10-09: CISA Remediation Deadline. Expiration of the CISA remediation deadline as described in [BOD 22-01](https://www.cisa.gov/news-events/directives/bod-22-01-reducing-significant-risk-known-exploited-vulnerabilities).
- 2023-12-15: Rule Released. CrowdSec releases a rule to detect CVE-2021-3129 exploitation attempts against the CrowdSec Network.
- 2023-12-15: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2021-3129 for the first time.

## References

- https://www.ambionics.io/blog/laravel-debug-rce
- https://github.com/facade/ignition/pull/334
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3129.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2021-3129) follows observed exploitation activity for CVE-2021-3129. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
