CVE-2024-51736
published 2024-11-06CVE-2024-51736: Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is…
PriorityP353critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.43%
34.7th percentile
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. This issue has been addressed in release versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | symfony | — | — |
| sensiolabs | symfony | < 5.4.46 | 5.4.46 |
| sensiolabs | symfony | >= 6.0.0 < 6.4.14 | 6.4.14 |
| sensiolabs | symfony | >= 7.0.0 < 7.1.7 | 7.1.7 |
| symfony | process | >= 0 < 5.4.46 | 5.4.46 |
| symfony | process | >= 6.0.0 < 6.4.14 | 6.4.14 |
| symfony | process | >= 7.0.0 < 7.1.7 | 7.1.7 |
| symfony | symfony | < 5.4.46 | 5.4.46 |
| symfony | symfony | — | — |
| symfony | symfony | — | — |
| symfony | symfony | >= 0 < 5.4.46 | 5.4.46 |
| symfony | symfony | >= 6.0.0 < 6.4.14 | 6.4.14 |
| symfony | symfony | >= 7.0.0 < 7.1.7 | 7.1.7 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_debian9.8LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Symfony vulnerable to command execution hijack on Windows with Process class
ghsa·2024-11-06
CVE-2024-51736 [HIGH] CWE-77 Symfony vulnerable to command execution hijack on Windows with Process class
Symfony vulnerable to command execution hijack on Windows with Process class
### Description
On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking.
### Resolution
The `Process` class now uses the absolute path to `cmd.exe`.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9) for branch 5.4.
### Credits
We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
OSV
Symfony vulnerable to command execution hijack on Windows with Process class
osv·2024-11-06
CVE-2024-51736 [HIGH] Symfony vulnerable to command execution hijack on Windows with Process class
Symfony vulnerable to command execution hijack on Windows with Process class
### Description
On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking.
### Resolution
The `Process` class now uses the absolute path to `cmd.exe`.
The patch for this issue is available [here](https://github.com/symfony/symfony/commit/18ecd03eda3917fdf901a48e72518f911c64a1c9) for branch 5.4.
### Credits
We would like to thank Jordi Boggiano for reporting the issue and Nicolas Grekas for providing the fix.
Debian
CVE-2024-51736: symfony - Symphony process is a module for the Symphony PHP framework which executes comma...
vendor_debian·2024·CVSS 9.8
CVE-2024-51736 [NONE] CVE-2024-51736: symfony - Symphony process is a module for the Symphony PHP framework which executes comma...
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. On Windows, when an executable file named `cmd.exe` is located in the current working directory it will be called by the `Process` class when preparing command arguments, leading to possible hijacking. This issue has been addressed in release versions 5.4.46, 6.4.14, and 7.1.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-11-06
Published