7.5 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.975 High
EPSS
Percentile
100.0%
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 in Red Hat Enterprise Linux 5 and
6 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 | i386 | php-dba | < 5.1.6-34.el5_8 | php-dba-5.1.6-34.el5_8.i386.rpm |
RedHat | 5 | s390x | php | < 5.1.6-34.el5_8 | php-5.1.6-34.el5_8.s390x.rpm |
RedHat | 5 | ppc | php-ncurses | < 5.1.6-34.el5_8 | php-ncurses-5.1.6-34.el5_8.ppc.rpm |
RedHat | 6 | x86_64 | php-mysql | < 5.3.3-3.el6_2.8 | php-mysql-5.3.3-3.el6_2.8.x86_64.rpm |
RedHat | 6 | i686 | php-xmlrpc | < 5.3.3-3.el6_2.8 | php-xmlrpc-5.3.3-3.el6_2.8.i686.rpm |
RedHat | 5 | ia64 | php-devel | < 5.1.6-34.el5_8 | php-devel-5.1.6-34.el5_8.ia64.rpm |
RedHat | 5 | x86_64 | php-xml | < 5.1.6-34.el5_8 | php-xml-5.1.6-34.el5_8.x86_64.rpm |
RedHat | 6 | i686 | php-dba | < 5.3.3-3.el6_2.8 | php-dba-5.3.3-3.el6_2.8.i686.rpm |
RedHat | 6 | s390x | php-pgsql | < 5.3.3-3.el6_2.8 | php-pgsql-5.3.3-3.el6_2.8.s390x.rpm |
RedHat | 6 | x86_64 | php-devel | < 5.3.3-3.el6_2.8 | php-devel-5.3.3-3.el6_2.8.x86_64.rpm |