Skip to main content
← All vulnerabilities
CVE-2024-52301GHSA-GV7V-RGG6-548HBIT-LARAVEL-2024-52301

Laravel allows environment manipulation via query string

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.20.45, 7.30.7, 8.83.28, 9.52.17, 10.48.23, and 1 more
3 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • laravel framework

    fixed in 6.20.45; From 7.0.0 · fixed in 7.30.7; From 8.0.0 · fixed in 8.83.28; From 9.0.0 · fixed in 9.52.17; From 10.0.0 · fixed in 10.48.23; From 11.0.0 · fixed in 11.31.0

  • laravel/frameworkPackagist

    fixed in 6.20.45

  • laravel/frameworkPackagist

    From 7.0.0 · fixed in 7.30.7

  • laravel/frameworkPackagist

    From 8.0.0 · fixed in 8.83.28

  • laravel/frameworkPackagist

    From 9.0.0 · fixed in 9.52.17

  • laravel/frameworkPackagist

    From 10.0.0 · fixed in 10.48.23

  • laravel/frameworkPackagist

    From 11.0.0 · fixed in 11.31.0

References 4

GitHub · laravel/framework

GitHub · Nyamort/CVE-2024-52301

GitHub · fckoo/nanwinata-CVE-2024-52301

GitHub · martinhaunschmid/CVE-2024-52301-Research