PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.
A flaw was found in the way the php-cgi executable processed command line
arguments when running in CGI mode. A remote attacker could send a
specially-crafted request to a PHP script that would result in the query
string being parsed by php-cgi as command line options and arguments. This
could lead to the disclosure of the script’s source code or arbitrary code
execution with the privileges of the PHP interpreter. (CVE-2012-1823)
Red Hat is aware that a public exploit for this issue is available that
allows remote code execution in affected PHP CGI configurations. This flaw
does not affect the default configuration using the PHP module for Apache
httpd to handle PHP scripts.
All php users should upgrade to these updated packages, which contain a
backported patch to resolve this issue. After installing the updated
packages, the httpd daemon must be restarted for the update to take effect.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
RedHat | 5 | x86_64 | php | < 5.2.10-2.el5s2 | php-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-gd | < 5.2.10-2.el5s2 | php-gd-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-odbc | < 5.2.10-2.el5s2 | php-odbc-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-xml | < 5.2.10-2.el5s2 | php-xml-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-ncurses | < 5.2.10-2.el5s2 | php-ncurses-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | i386 | php-imap | < 5.2.10-2.el5s2 | php-imap-5.2.10-2.el5s2.i386.rpm |
RedHat | 5 | i386 | php-dba | < 5.2.10-2.el5s2 | php-dba-5.2.10-2.el5s2.i386.rpm |
RedHat | 5 | x86_64 | php-common | < 5.2.10-2.el5s2 | php-common-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-snmp | < 5.2.10-2.el5s2 | php-snmp-5.2.10-2.el5s2.x86_64.rpm |
RedHat | 5 | x86_64 | php-ldap | < 5.2.10-2.el5s2 | php-ldap-5.2.10-2.el5s2.x86_64.rpm |