Oval Definition:oval:com.redhat.rhsa:def:20121045
Revision Date:2012-06-27Version:634
Title:RHSA-2012:1045: php security update (Moderate)
Description: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.
  • Family:unixClass:patch
    Status:Reference(s):CVE-2011-4153
    CVE-2012-0057
    CVE-2012-0789
    CVE-2012-1172
    CVE-2012-2336
    RHSA-2012:1045
    RHSA-2012:1045-00
    RHSA-2012:1045-01
    RHSA-2012:1045-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-39.el5_8
  • AND php is signed with Red Hat redhatrelease2 key
  • php-bcmath is earlier than 0:5.1.6-39.el5_8
  • AND php-bcmath is signed with Red Hat redhatrelease2 key
  • php-cli is earlier than 0:5.1.6-39.el5_8
  • AND php-cli is signed with Red Hat redhatrelease2 key
  • php-common is earlier than 0:5.1.6-39.el5_8
  • AND php-common is signed with Red Hat redhatrelease2 key
  • php-dba is earlier than 0:5.1.6-39.el5_8
  • AND php-dba is signed with Red Hat redhatrelease2 key
  • php-devel is earlier than 0:5.1.6-39.el5_8
  • AND php-devel is signed with Red Hat redhatrelease2 key
  • php-gd is earlier than 0:5.1.6-39.el5_8
  • AND php-gd is signed with Red Hat redhatrelease2 key
  • php-imap is earlier than 0:5.1.6-39.el5_8
  • AND php-imap is signed with Red Hat redhatrelease2 key
  • php-ldap is earlier than 0:5.1.6-39.el5_8
  • AND php-ldap is signed with Red Hat redhatrelease2 key
  • php-mbstring is earlier than 0:5.1.6-39.el5_8
  • AND php-mbstring is signed with Red Hat redhatrelease2 key
  • php-mysql is earlier than 0:5.1.6-39.el5_8
  • AND php-mysql is signed with Red Hat redhatrelease2 key
  • php-ncurses is earlier than 0:5.1.6-39.el5_8
  • AND php-ncurses is signed with Red Hat redhatrelease2 key
  • php-odbc is earlier than 0:5.1.6-39.el5_8
  • AND php-odbc is signed with Red Hat redhatrelease2 key
  • php-pdo is earlier than 0:5.1.6-39.el5_8
  • AND php-pdo is signed with Red Hat redhatrelease2 key
  • php-pgsql is earlier than 0:5.1.6-39.el5_8
  • AND php-pgsql is signed with Red Hat redhatrelease2 key
  • php-snmp is earlier than 0:5.1.6-39.el5_8
  • AND php-snmp is signed with Red Hat redhatrelease2 key
  • php-soap is earlier than 0:5.1.6-39.el5_8
  • AND php-soap is signed with Red Hat redhatrelease2 key
  • php-xml is earlier than 0:5.1.6-39.el5_8
  • AND php-xml is signed with Red Hat redhatrelease2 key
  • php-xmlrpc is earlier than 0:5.1.6-39.el5_8
  • AND php-xmlrpc is signed with Red Hat redhatrelease2 key
  • BACK