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.974 High
EPSS
Percentile
99.9%
CentOS Errata and Security Advisory CESA-2012:0546
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.
Merged security bulletin from advisories:
https://lists.centos.org/pipermail/centos-announce/2012-May/080775.html
https://lists.centos.org/pipermail/centos-announce/2012-May/080776.html
Affected packages:
php
php-bcmath
php-cli
php-common
php-dba
php-devel
php-embedded
php-enchant
php-gd
php-imap
php-intl
php-ldap
php-mbstring
php-mysql
php-ncurses
php-odbc
php-pdo
php-pgsql
php-process
php-pspell
php-recode
php-snmp
php-soap
php-tidy
php-xml
php-xmlrpc
php-zts
Upstream details at:
https://access.redhat.com/errata/RHSA-2012:0546
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
CentOS | 5 | i386 | php | < 5.1.6-34.el5_8 | php-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-bcmath | < 5.1.6-34.el5_8 | php-bcmath-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-cli | < 5.1.6-34.el5_8 | php-cli-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-common | < 5.1.6-34.el5_8 | php-common-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-dba | < 5.1.6-34.el5_8 | php-dba-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-devel | < 5.1.6-34.el5_8 | php-devel-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-gd | < 5.1.6-34.el5_8 | php-gd-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-imap | < 5.1.6-34.el5_8 | php-imap-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-ldap | < 5.1.6-34.el5_8 | php-ldap-5.1.6-34.el5_8.i386.rpm |
CentOS | 5 | i386 | php-mbstring | < 5.1.6-34.el5_8 | php-mbstring-5.1.6-34.el5_8.i386.rpm |