HighGHSA-gv7v-rgg6-548h
Laravel environment manipulation via query string
Affected versions
before 6.20.45, 7.0.0 to before 7.30.7, 8.0.0 to before 8.83.28, 9.0.0 to before 9.52.17, 10.0.0 to before 10.48.23, 11.0.0 to before 11.31.0 - fixed in 6.20.45Details
## 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
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301
- https://github.com/laravel/framework/security/advisories/GHSA-gv7v-rgg6-548h
- https://nvd.nist.gov/vuln/detail/CVE-2024-52301
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2024-52301.yaml
- https://github.com/advisories/GHSA-gv7v-rgg6-548h
- https://github.com/laravel/framework
- https://lists.debian.org/debian-lts-announce/2024/12/msg00019.html
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected