Vulnerability advisory
GHSA-gv7v-rgg6-548h
Laravel environment manipulation via query string
Also known as BIT-laravel-2024-52301CVE-2024-52301
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Affected versions
Description
Description
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.
Resolution
The framework now ignores argv values for environment detection on non-cli SAPIs.
References
- Webgithub.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-52301 ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml ↗
- Advisorygithub.com/advisories/GHSA-gv7v-rgg6-548h ↗
- Packagegithub.com/laravel/framework ↗
- Weblists.debian.org/debian-lts-announce/2024/12/msg00019.html ↗