ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-1874

php: Fail to Escape Arguments Properly in Microsoft Windows

None No fix available CVE-2024-1874

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6php
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-bcmath
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-cli
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-common
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-dba
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-embedded
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-enchant
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-fpm
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-gd
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-imap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-intl
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-mbstring
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-mysql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-odbc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pdo
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pgsql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-process
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pspell
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-recode
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-soap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-tidy
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-xml
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-xmlrpc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-zts
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-bcmath
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-cli
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-common
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-dba
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-embedded
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-enchant
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-fpm
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-gd
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-intl
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-mbstring
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-mysql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-mysqlnd
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-odbc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-pdo
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-pgsql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-process
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-pspell
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-recode
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-soap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-xml
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php-xmlrpc
All versions, no fix (out of support scope)

References