# CVE-2024-52301: Laravel - Parameter Injection

> Live exploitation tracking for CVE-2024-52301 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-2024-52301

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 8.7
- **Public exploit available:** Yes
- **Affected products:** Laravel framework
- **Weaknesses:** CWE-88 (Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'))
- **Tags:** web_application

## Description

Laravel is a web application framework. When the register_argc_argv php directive is set to on , and users call any URL with a special crafted query string, they are able to change the environment used by the framework when handling the request. The vulnerability fixed in 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, and 11.31.0. The framework now ignores argv values for environment detection on non-cli SAPIs.

## CrowdSec analysis

[CVE-2024-52301](https://euvd.enisa.europa.eu/vulnerability/CVE-2024-52301) is a vulnerability impacting the Laravel web application framework, where attackers can manipulate framework behavior by altering the execution environment through specially crafted query strings. This flaw can result in unauthorized privilege changes and potential compromise of application integrity.

CrowdSec has been tracking this vulnerability and its exploits since 20th of November 2024.

Data from the CrowdSec community indicates that exploitation of CVE-2024-52301 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations.
Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2024-52301 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2024-52301 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.

Attack attempts often involve requests that use specially crafted query parameters ending with `--env`, aiming to control the application's environment settings during request handling.

## Timeline

- 2024-11-12: CVE Published. CVE-2024-52301 is published to NVD.
- 2024-11-20: Rule Released. CrowdSec releases a rule to detect CVE-2024-52301 exploitation attempts against the CrowdSec Network.
- 2024-11-25: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2024-52301 for the first time.

## References

- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html

## Live exploitation data

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