Critical severity9.4NVD Advisory· Published Apr 29, 2024· Updated Jun 17, 2026
CVE-2024-1874
CVE-2024-1874
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
10cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
- osv-coords5 versionspkg:bitnami/libphppkg:bitnami/phppkg:bitnami/php-minpkg:hackage/processpkg:rpm/opensuse/php8&distro=openSUSE%20Tumbleweed
< 8.1.28+ 4 more
- (no CPE)range: < 8.1.28
- (no CPE)range: < 8.1.28
- (no CPE)range: < 8.1.28
- (no CPE)range: >= 1.0.0.0, < 1.6.23.0
- (no CPE)range: < 8.3.6-1.1
Patches
Vulnerability mechanics
References
10- github.com/php/php-src/security/advisories/GHSA-pc52-254m-w9w7nvdExploitVendor Advisory
- www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585nvdExploitThird Party Advisory
- security.netapp.com/advisory/ntap-20240510-0009/nvdThird Party Advisory
- www.openwall.com/lists/oss-security/2024/04/12/11nvdMailing List
- www.openwall.com/lists/oss-security/2024/06/07/1nvdMailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/nvdMailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/nvdMailing List
- lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/nvd
- lists.fedoraproject.org/archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/nvd
- www.kb.cert.org/vuls/id/123335nvd
News mentions
0No linked articles in our index yet.