CVE-2024-1874
Last modified
CVE-2024-1874 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.. EPSS estimates a 32.57% chance of exploitation in the next 30 days.
Description
In PHP versions 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.28 |
| Php | Php | >= 8.2.0, < 8.2.18 |
| Php | Php | >= 8.3.0, < 8.3.5 |
| Fedoraproject | Fedora | 39 |
| Fedoraproject | Fedora | 40 |
References
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-1874?
How severe is CVE-2024-1874?
How do I fix CVE-2024-1874?
Are you affected by CVE-2024-1874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
