Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.1.0, < 8.1.28 |
| Fedoraproject | Fedora | 39 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- http://www.openwall.com/lists/oss-security/2024/06/07/1Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7ExploitVendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing List
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- http://www.openwall.com/lists/oss-security/2024/06/07/1Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7ExploitVendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]Mailing List
- https://lists.fedoraproject.org/archives/list/[email protected]
- https://security.netapp.com/advisory/ntap-20240510-0009/Third Party Advisory
- https://www.kb.cert.org/vuls/id/123335
FAQ
What is CVE-2024-1874?
CVE-2024-1874 is a vulnerability with a CVSS score of 9.4 (CRITICAL). 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 a...
How severe is CVE-2024-1874?
CVE-2024-1874 has been rated CRITICAL with a CVSS base score of 9.4/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-1874?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Fedoraproject Fedora.