CVE-2012-1823
Fixed in a distro release ExploitedEPSS 100%CVSS 9.8
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Products: php, fedoraproject fedora, debian_linux, hp-ux, opensuse, suse linux_enterprise_server, suse linux_enterprise_software_development_kit, apple mac_os_x, redhat application_stack, redhat gluster_storage_server_for_on-premise, redhat storage, redhat storage_for_public_cloud, redhat enterprise_linux_desktop, redhat enterprise_linux_eus, redhat enterprise_linux_server, redhat enterprise_linux_server_aus, redhat enterprise_linux_workstation
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 6.0 | php5 | 5.3.3-7+squeeze9 |
| Red Hat Enterprise Linux 5 | php | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-bcmath | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-cli | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-common | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-dba | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-debuginfo | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-devel | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-gd | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-imap | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-ldap | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-mbstring | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-mysql | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-ncurses | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-odbc | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-pdo | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-pgsql | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-snmp | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-soap | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-xml | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php-xmlrpc | 0:5.1.6-34.el5_8 |
| Red Hat Enterprise Linux 5 | php53 | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-bcmath | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-cli | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-common | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-dba | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-debuginfo | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-devel | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-gd | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-imap | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-intl | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-ldap | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-mbstring | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-mysql | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-odbc | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-pdo | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-pgsql | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-process | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-pspell | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-snmp | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-soap | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-xml | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 5 | php53-xmlrpc | 0:5.3.3-7.el5_8 |
| Red Hat Enterprise Linux 6 | php | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-bcmath | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-cli | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-common | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-dba | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-debuginfo | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-devel | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-embedded | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-enchant | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-gd | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-imap | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-intl | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-ldap | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-mbstring | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-mysql | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-odbc | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-pdo | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-pgsql | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-process | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-pspell | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-recode | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-snmp | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-soap | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-tidy | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-xml | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-xmlrpc | 0:5.3.3-3.el6_2.8 |
| Red Hat Enterprise Linux 6 | php-zts | 0:5.3.3-3.el6_2.8 |
| Red Hat rhel application stack 2 | php | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-bcmath | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-cli | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-common | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-dba | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-debuginfo | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-devel | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-gd | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-imap | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-ldap | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-mbstring | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-mysql | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-ncurses | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-odbc | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-pdo | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-pgsql | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-snmp | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-soap | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-xml | 0:5.2.10-2.el5s2 |
| Red Hat rhel application stack 2 | php-xmlrpc | 0:5.2.10-2.el5s2 |
| Red Hat rhel eus 5.6 | php | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-bcmath | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-cli | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-common | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-dba | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-debuginfo | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-devel | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-gd | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-imap | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-ldap | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-mbstring | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-mysql | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-ncurses | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-odbc | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-pdo | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-pgsql | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-snmp | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-soap | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-xml | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php-xmlrpc | 0:5.1.6-27.el5_6.4 |
| Red Hat rhel eus 5.6 | php53 | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-bcmath | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-cli | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-common | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-dba | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-debuginfo | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-devel | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-gd | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-imap | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-intl | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-ldap | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-mbstring | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-mysql | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-odbc | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-pdo | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-pgsql | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-process | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-pspell | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-snmp | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-soap | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-xml | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 5.6 | php53-xmlrpc | 0:5.3.3-1.el5_6.2 |
| Red Hat rhel eus 6.0 | php | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-bcmath | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-cli | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-common | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-dba | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-debuginfo | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-devel | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-embedded | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-enchant | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-gd | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-imap | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-intl | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-ldap | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-mbstring | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-mysql | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-odbc | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-pdo | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-pgsql | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-process | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-pspell | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-recode | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-snmp | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-soap | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-tidy | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-xml | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-xmlrpc | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.0 | php-zts | 0:5.3.2-6.el6_0.2 |
| Red Hat rhel eus 6.1 | php | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-bcmath | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-cli | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-common | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-dba | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-debuginfo | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-devel | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-embedded | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-enchant | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-gd | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-imap | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-intl | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-ldap | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-mbstring | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-mysql | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-odbc | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-pdo | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-pgsql | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-process | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-pspell | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-recode | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-snmp | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-soap | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-tidy | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-xml | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-xmlrpc | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel eus 6.1 | php-zts | 0:5.3.3-3.el6_1.4 |
| Red Hat rhel mission critical 5.3 | php | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-bcmath | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-cli | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-common | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-dba | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-debuginfo | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-devel | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-gd | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-imap | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-ldap | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-mbstring | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-mysql | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-ncurses | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-odbc | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-pdo | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-pgsql | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-snmp | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-soap | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-xml | 0:5.1.6-23.3.el5_3 |
| Red Hat rhel mission critical 5.3 | php-xmlrpc | 0:5.1.6-23.3.el5_3 |
| openSUSE Tumbleweed | php5 | 5.6.28-1.1 |
| openSUSE Tumbleweed | php7 | 7.0.14-1.4 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 |