CVE-2024-50340
Ability to change environment from query in symfony/runtime
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
symfony/runtime is a module for the Symphony PHP framework which enables decoupling PHP applications from global state. When the `register_argv_argc` php directive is set to `on` , and users call any URL with a special crafted query string, they are able to change the environment or debug mode used by the kernel when handling the request. As of versions 5.4.46, 6.4.14, and 7.1.7 the `SymfonyRuntime` now ignores the `argv` values for non-SAPI PHP runtimes. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Soner Sayakci discovered that Symfony incorrectly handled cookie storage in the web cache. An attacker could possibly use this issue to obtain sensitive information and access unauthorized resources. Marco Squarcina discovered that Symfony incorrectly handled the storage of user session information. An attacker could possibly use this issue to perform a cross-site request forgery attack. Pierre Rudloff discovered that Symfony incorrectly checked HTML input. An attacker could possibly use this issue to perform cross site scripting.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2024-10-22 CVE Reserved
- 2024-11-06 CVE Published
- 2024-11-06 First Exploit
- 2024-11-07 CVE Updated
- 2025-04-02 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/symfony/symfony/commit/a77b308c3f179ed7c8a8bc295f82b2d6ee3493fa | X_refsource_misc | |
https://github.com/symfony/symfony/security/advisories/GHSA-x8vp-gf4q-mw5j | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
https://github.com/Nyamort/CVE-2024-50340 | 2024-11-06 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | < 5.4.46 Search vendor "Symfony" for product "Symfony" and version " < 5.4.46" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 6.0.0 < 6.4.14 Search vendor "Symfony" for product "Symfony" and version " >= 6.0.0 < 6.4.14" | en |
Affected
| ||||||
Symfony Search vendor "Symfony" | Symfony Search vendor "Symfony" for product "Symfony" | >= 7.0.0 < 7.1.7 Search vendor "Symfony" for product "Symfony" and version " >= 7.0.0 < 7.1.7" | en |
Affected
|