CVE-2024-52301

Laravel allows environment manipulation via query string

State
Published
Severity
8.7 High
Published
Nov 12, 2024
Updated
Dec 21, 2024
Reserved
Nov 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Affected Products

ProductVersions
frameworklaravel
  • < 6.20.45Affected
  • >= 7.0.0, < 7.30.7Affected
  • >= 8.0.0, < 8.83.28Affected
  • >= 9.0.0, < 9.52.17Affected
  • >= 10.0.0, < 10.48.23Affected
  • >= 11.0.0, < 11.31.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.