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:1045
PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.
It was discovered that the PHP XSL extension did not restrict the file
writing capability of libxslt. A remote attacker could use this flaw to
create or overwrite an arbitrary file that is writable by the user running
PHP, if a PHP script processed untrusted eXtensible Style Sheet Language
Transformations (XSLT) content. (CVE-2012-0057)
Note: This update disables file writing by default. A new PHP configuration
directive, “xsl.security_prefs”, can be used to enable file writing in
XSLT.
A flaw was found in the way PHP validated file names in file upload
requests. A remote attacker could possibly use this flaw to bypass the
sanitization of the uploaded file names, and cause a PHP script to store
the uploaded file in an unexpected directory, by using a directory
traversal attack. (CVE-2012-1172)
It was discovered that the fix for CVE-2012-1823, released via
RHSA-2012:0546, did not properly filter all php-cgi command line arguments.
A specially-crafted request to a PHP script could cause the PHP interpreter
to output usage information that triggers an Internal Server Error.
(CVE-2012-2336)
A memory leak flaw was found in the PHP strtotime() function call. A remote
attacker could possibly use this flaw to cause excessive memory consumption
by triggering many strtotime() function calls. (CVE-2012-0789)
It was found that PHP did not check the zend_strndup() function’s return
value in certain cases. A remote attacker could possibly use this flaw to
crash a PHP application. (CVE-2011-4153)
All php users should upgrade to these updated packages, which contain
backported patches to resolve these issues. 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-June/080864.html
Affected packages:
php
php-bcmath
php-cli
php-common
php-dba
php-devel
php-gd
php-imap
php-ldap
php-mbstring
php-mysql
php-ncurses
php-odbc
php-pdo
php-pgsql
php-snmp
php-soap
php-xml
php-xmlrpc
Upstream details at:
https://access.redhat.com/errata/RHSA-2012:1045
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
CentOS | 5 | i386 | php | < 5.1.6-39.el5_8 | php-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-bcmath | < 5.1.6-39.el5_8 | php-bcmath-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-cli | < 5.1.6-39.el5_8 | php-cli-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-common | < 5.1.6-39.el5_8 | php-common-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-dba | < 5.1.6-39.el5_8 | php-dba-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-devel | < 5.1.6-39.el5_8 | php-devel-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-gd | < 5.1.6-39.el5_8 | php-gd-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-imap | < 5.1.6-39.el5_8 | php-imap-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-ldap | < 5.1.6-39.el5_8 | php-ldap-5.1.6-39.el5_8.i386.rpm |
CentOS | 5 | i386 | php-mbstring | < 5.1.6-39.el5_8 | php-mbstring-5.1.6-39.el5_8.i386.rpm |