// For flags

CVE-2024-50340

Ability to change environment from query in symfony/runtime

Severity Score

7.3
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
None
Automatable
Yes
Tech. Impact
Partial
* Organization's Worst-case Scenario
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
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