CVE-2024-52301
JSON

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 packageVersionsReported 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 moreCVE 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.0GitHub Advisory Database
debian debian_linux11.0NVD
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.0Bitnami Vulnerability Database

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
GitHub0.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-88

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

SourceRecordLicence
CVE ListCVE-2024-52301 changed 2024-12-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-gv7v-rgg6-548h changed 2024-12-21CC-BY-4.0
NVDCVE-2024-52301 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-LARAVEL-2024-52301 changed 2024-12-22Apache-2.0