Red Hat VEX
RHVEX-CVE-2024-1874
php: Fail to Escape Arguments Properly in Microsoft Windows
Details
A command injection flaw was found in PHP, exclusive to Windows environments. This flaw allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function in specific conditions. The CreateProcess function implicitly uses cmd.exe when executing batch files, which has complicated parsing rules for arguments that have not fully escaped. It is possible to inject commands if an attacker can control part of the command arguments of the batch file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-bcmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-cli | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-common | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-dba | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-embedded | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-enchant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-fpm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-gd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-imap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-intl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-ldap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mbstring | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-odbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pdo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pgsql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-process | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pspell | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-recode | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-soap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-tidy | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xml | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xmlrpc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-zts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-bcmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-cli | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-common | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-dba | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-embedded | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-enchant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-fpm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-gd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-intl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-ldap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mbstring | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-mysqlnd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-odbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pdo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pgsql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-process | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-pspell | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-recode | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-soap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-xml | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php-xmlrpc | All versions, no fix (out of support scope) |