Rapid7 Vulnerability & Exploit Database

RHSA-2013:1814: php security update

Back to Search

RHSA-2013:1814: php security update

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
07/20/2012
Created
07/25/2018
Added
12/12/2013
Modified
07/04/2017

Description

PHP is an HTML-embedded scripting language commonly used with the ApacheHTTP Server.A memory corruption flaw was found in the way the openssl_x509_parse()function of the PHP openssl extension parsed X.509 certificates. A remoteattacker could use this flaw to provide a malicious self-signed certificateor a certificate signed by a trusted authority to a PHP application usingthe aforementioned function, causing the application to crash or, possibly,allow the attacker to execute arbitrary code with the privileges of theuser running the PHP interpreter. (CVE-2013-6420)It was found that PHP did not check for carriage returns in HTTP headers,allowing intended HTTP response splitting protections to be bypassed.Depending on the web browser the victim is using, a remote attacker coulduse this flaw to perform HTTP response splitting attacks. (CVE-2011-1398)An integer signedness issue, leading to a heap-based buffer underflow, wasfound in the PHP scandir() function. If a remote attacker could upload anexcessively large number of files to a directory the scandir() functionruns on, it could cause the PHP interpreter to crash or, possibly, executearbitrary code. (CVE-2012-2688)It was found that the PHP SOAP parser allowed the expansion of external XMLentities during SOAP message parsing. A remote attacker could possibly usethis flaw to read arbitrary files that are accessible to a PHP applicationusing a SOAP extension. (CVE-2013-1643)Red Hat would like to thank the PHP project for reporting CVE-2013-6420.Upstream acknowledges Stefan Esser as the original reporter.All php users are advised to upgrade to these updated packages, whichcontain backported patches to correct these issues. After installing theupdated packages, the httpd daemon must be restarted for the update totake effect.

Solution(s)

  • redhat-upgrade-php
  • redhat-upgrade-php-bcmath
  • redhat-upgrade-php-cli
  • redhat-upgrade-php-common
  • redhat-upgrade-php-dba
  • redhat-upgrade-php-debuginfo
  • redhat-upgrade-php-devel
  • redhat-upgrade-php-gd
  • redhat-upgrade-php-imap
  • redhat-upgrade-php-ldap
  • redhat-upgrade-php-mbstring
  • redhat-upgrade-php-mysql
  • redhat-upgrade-php-ncurses
  • redhat-upgrade-php-odbc
  • redhat-upgrade-php-pdo
  • redhat-upgrade-php-pgsql
  • redhat-upgrade-php-snmp
  • redhat-upgrade-php-soap
  • redhat-upgrade-php-xml
  • redhat-upgrade-php-xmlrpc

References

  • redhat-upgrade-php
  • redhat-upgrade-php-bcmath
  • redhat-upgrade-php-cli
  • redhat-upgrade-php-common
  • redhat-upgrade-php-dba
  • redhat-upgrade-php-debuginfo
  • redhat-upgrade-php-devel
  • redhat-upgrade-php-gd
  • redhat-upgrade-php-imap
  • redhat-upgrade-php-ldap
  • redhat-upgrade-php-mbstring
  • redhat-upgrade-php-mysql
  • redhat-upgrade-php-ncurses
  • redhat-upgrade-php-odbc
  • redhat-upgrade-php-pdo
  • redhat-upgrade-php-pgsql
  • redhat-upgrade-php-snmp
  • redhat-upgrade-php-soap
  • redhat-upgrade-php-xml
  • redhat-upgrade-php-xmlrpc

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;