Oval Definition:oval:com.redhat.rhsa:def:20120033
Revision Date:2012-01-18Version:634
Title:RHSA-2012:0033: php security update (Moderate)
Description:PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

  • It was found that the hashing routine used by PHP arrays was susceptible to predictable hash collisions. If an HTTP POST request to a PHP application contained many parameters whose names map to the same hash value, a large amount of CPU time would be consumed. This flaw has been mitigated by adding a new configuration directive, max_input_vars, that limits the maximum number of parameters processed per request. By default, max_input_vars is set to 1000. (CVE-2011-4885)

  • A use-after-free flaw was found in the PHP substr_replace() function. If a PHP script used the same variable as multiple function arguments, a remote attacker could possibly use this to crash the PHP interpreter or, possibly, execute arbitrary code. (CVE-2011-1148)

  • An integer overflow flaw was found in the PHP exif extension. On 32-bit systems, a specially-crafted image file could cause the PHP interpreter to crash or disclose portions of its memory when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-4566)

  • An insufficient input validation flaw, leading to a buffer over-read, was found in the PHP exif extension. A specially-crafted image file could cause the PHP interpreter to crash when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-0708)

  • An integer overflow flaw was found in the PHP calendar extension. A remote attacker able to make a PHP script call SdnToJulian() with a large value could cause the PHP interpreter to crash. (CVE-2011-1466)

  • A bug in the PHP Streams component caused the PHP interpreter to crash if an FTP wrapper connection was made through an HTTP proxy. A remote attacker could possibly trigger this issue if a PHP script accepted an untrusted URL to connect to. (CVE-2011-1469)

  • An off-by-one flaw was found in PHP. If an attacker uploaded a file with a specially-crafted file name it could cause a PHP script to attempt to write a file to the root (/) directory. By default, PHP runs as the "apache" user, preventing it from writing to the root directory. (CVE-2011-2202)

    Red Hat would like to thank oCERT for reporting CVE-2011-4885. oCERT acknowledges Julian Wälde and Alexander Klink as the original reporters of CVE-2011-4885.

    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.
  • Family:unixClass:patch
    Status:Reference(s):CVE-2011-0708
    CVE-2011-1148
    CVE-2011-1466
    CVE-2011-1469
    CVE-2011-2202
    CVE-2011-4566
    CVE-2011-4885
    RHSA-2012:0033
    RHSA-2012:0033-01
    RHSA-2012:0033-01
    Platform(s):Red Hat Enterprise Linux 5
    Product(s):
    Definition Synopsis
  • Red Hat Enterprise Linux must be installed
  • OR Package Information
  • Red Hat Enterprise Linux 5 is installed
  • AND
  • php is earlier than 0:5.1.6-27.el5_7.4
  • AND php is signed with Red Hat redhatrelease2 key
  • php-bcmath is earlier than 0:5.1.6-27.el5_7.4
  • AND php-bcmath is signed with Red Hat redhatrelease2 key
  • php-cli is earlier than 0:5.1.6-27.el5_7.4
  • AND php-cli is signed with Red Hat redhatrelease2 key
  • php-common is earlier than 0:5.1.6-27.el5_7.4
  • AND php-common is signed with Red Hat redhatrelease2 key
  • php-dba is earlier than 0:5.1.6-27.el5_7.4
  • AND php-dba is signed with Red Hat redhatrelease2 key
  • php-devel is earlier than 0:5.1.6-27.el5_7.4
  • AND php-devel is signed with Red Hat redhatrelease2 key
  • php-gd is earlier than 0:5.1.6-27.el5_7.4
  • AND php-gd is signed with Red Hat redhatrelease2 key
  • php-imap is earlier than 0:5.1.6-27.el5_7.4
  • AND php-imap is signed with Red Hat redhatrelease2 key
  • php-ldap is earlier than 0:5.1.6-27.el5_7.4
  • AND php-ldap is signed with Red Hat redhatrelease2 key
  • php-mbstring is earlier than 0:5.1.6-27.el5_7.4
  • AND php-mbstring is signed with Red Hat redhatrelease2 key
  • php-mysql is earlier than 0:5.1.6-27.el5_7.4
  • AND php-mysql is signed with Red Hat redhatrelease2 key
  • php-ncurses is earlier than 0:5.1.6-27.el5_7.4
  • AND php-ncurses is signed with Red Hat redhatrelease2 key
  • php-odbc is earlier than 0:5.1.6-27.el5_7.4
  • AND php-odbc is signed with Red Hat redhatrelease2 key
  • php-pdo is earlier than 0:5.1.6-27.el5_7.4
  • AND php-pdo is signed with Red Hat redhatrelease2 key
  • php-pgsql is earlier than 0:5.1.6-27.el5_7.4
  • AND php-pgsql is signed with Red Hat redhatrelease2 key
  • php-snmp is earlier than 0:5.1.6-27.el5_7.4
  • AND php-snmp is signed with Red Hat redhatrelease2 key
  • php-soap is earlier than 0:5.1.6-27.el5_7.4
  • AND php-soap is signed with Red Hat redhatrelease2 key
  • php-xml is earlier than 0:5.1.6-27.el5_7.4
  • AND php-xml is signed with Red Hat redhatrelease2 key
  • php-xmlrpc is earlier than 0:5.1.6-27.el5_7.4
  • AND php-xmlrpc is signed with Red Hat redhatrelease2 key
  • BACK