8.7high
Laravel allows environment manipulation via query string
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 44.8% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gv7v-rgg6-548hBIT-LARAVEL-2024-52301
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| laravel framework | < 6.20.45, >= 7.0.0, < 7.30.7, >= 8.0.0, < 8.83.28, >= 9.0.0, < 9.52.17, >= 10.0.0, < 10.48.23, >= 11.0.0, < 11.31.0, before 6.20.45, up to 7.0.0 and 14 more | CVE List, NVD |
| laravel/framework (Packagist) | before 6.20.45, from 7.0.0 before 7.30.7, from 8.0.0 before 8.83.28, from 9.0.0 before 9.52.17, from 10.0.0 before 10.48.23, from 11.0.0 before 11.31.0 | GitHub Advisory Database |
| debian debian_linux | 11.0 | NVD |
| laravel (Bitnami) | before 6.20.45, from 7.0.0 before 7.30.7, from 8.0.0 before 8.83.28, from 9.0.0 before 9.52.17, from 10.0.0 before 10.48.23, from 11.0.0 before 11.31.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.7high 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 |
| GitHub | 0.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
| GitHub | high 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Laravel es un framework de aplicaciones web. Cuando la directiva de php register_argc_argv está establecida en on y los usuarios llaman a cualquier URL con una cadena de consulta especialmente manipulada, pueden cambiar el entorno que utiliza el framework al procesar la solicitud. La vulnerabilidad se corrigió en 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23 y 11.31.0. El framework ahora ignora los valores argv para la detección del entorno en SAPI que no son de CLI.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-52301 changed 2024-12-21 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gv7v-rgg6-548h changed 2024-12-21 | CC-BY-4.0 |
| NVD | CVE-2024-52301 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LARAVEL-2024-52301 changed 2024-12-22 | Apache-2.0 |