A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue: 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.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Fedoraproject fedora
- PHP php
Weakness type
References
- www.openwall.com /lists/oss-security/2024/06/07/1
- github.com /php/php-src/security/advisories/GHSA-9fcc-425m-g385
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- security.netapp.com /advisory/ntap-20240726-0002/
- www.vicarius.io /vsociety/posts/command-injection-vulnerability-in-php-on-w…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning