NetSight
high8.7

CVE-2024-52301

Laravel environment manipulation via query string

Impact

## 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.

Affected packages

EcosystemPackageAffectedFixed in
composerlaravel/framework< 6.20.456.20.45

Affected products

VendorProductAffected versions
LaravelFramework
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
DebianDebian Linux
Version 11.0

Weakness classification

References