Issued:
2010-11-29
Updated:
2010-11-29

RHSA-2010:0919 - Moderate: php security update


Synopsis

Moderate: php security update

Type/Severity

Security Advisory Moderate

Topic

Updated php packages that fix multiple security issues are now available for Red Hat Enterprise Linux 4 and 5.

The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

Description

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

An input validation flaw was discovered in the PHP session serializer. If a PHP script generated session variable names from untrusted user input, a remote attacker could use this flaw to inject an arbitrary variable into the PHP session. (CVE-2010-3065)

An information leak flaw was discovered in the PHP var_export() function implementation. If some fatal error occurred during the execution of this function (such as the exhaustion of memory or script execution time limit), part of the function's output was sent to the user as script output, possibly leading to the disclosure of sensitive information. (CVE-2010-2531)

A numeric truncation error and an input validation flaw were found in the way the PHP utf8_decode() function decoded partial multi-byte sequences for some multi-byte encodings, sending them to output without them being escaped. An attacker could use these flaws to perform a cross-site scripting attack. (CVE-2009-5016, CVE-2010-3870)

It was discovered that the PHP lcg_value() function used insufficient entropy to seed the pseudo-random number generator. A remote attacker could possibly use this flaw to predict values returned by the function, which are used to generate session identifiers by default. This update changes the function's implementation to use more entropy during seeding. (CVE-2010-1128)

It was discovered that the PHP fnmatch() function did not restrict the length of the pattern argument. A remote attacker could use this flaw to crash the PHP interpreter where a script used fnmatch() on untrusted matching patterns. (CVE-2010-1917)

A NULL pointer dereference flaw was discovered in the PHP XML-RPC extension. A malicious XML-RPC client or server could use this flaw to crash the PHP interpreter via a specially-crafted XML-RPC request. (CVE-2010-0397)

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.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.8x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.8ia64
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.8i386
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for Power, big endian4ppc
Red Hat Enterprise Linux for Power, big endian - Extended Update Support4.8ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux for IBM z Systems4s390x
Red Hat Enterprise Linux for IBM z Systems4s390
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support4.8s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support4.8s390
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Workstation4x86_64
Red Hat Enterprise Linux Workstation4ia64
Red Hat Enterprise Linux Workstation4i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server4x86_64
Red Hat Enterprise Linux Server4ia64
Red Hat Enterprise Linux Server4i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Desktop4x86_64
Red Hat Enterprise Linux Desktop4i386

Updated Packages

  • php-xmlrpc-5.1.6-27.el5_5.3.x86_64.rpm
  • php-pear-4.3.9-3.31.x86_64.rpm
  • php-ldap-5.1.6-27.el5_5.3.s390x.rpm
  • php-soap-5.1.6-27.el5_5.3.s390x.rpm
  • php-mysql-5.1.6-27.el5_5.3.i386.rpm
  • php-5.1.6-27.el5_5.3.ppc.rpm
  • php-imap-5.1.6-27.el5_5.3.ia64.rpm
  • php-snmp-4.3.9-3.31.ppc.rpm
  • php-snmp-5.1.6-27.el5_5.3.x86_64.rpm
  • php-5.1.6-27.el5_5.3.i386.rpm
  • php-mysql-4.3.9-3.31.s390.rpm
  • php-imap-5.1.6-27.el5_5.3.ppc.rpm
  • php-mysql-5.1.6-27.el5_5.3.ppc.rpm
  • php-bcmath-5.1.6-27.el5_5.3.ppc.rpm
  • php-common-5.1.6-27.el5_5.3.i386.rpm
  • php-mysql-4.3.9-3.31.s390x.rpm
  • php-ncurses-4.3.9-3.31.ppc.rpm
  • php-soap-5.1.6-27.el5_5.3.ia64.rpm
  • php-imap-5.1.6-27.el5_5.3.s390x.rpm
  • php-ldap-4.3.9-3.31.ia64.rpm
  • php-domxml-4.3.9-3.31.ppc.rpm
  • php-devel-4.3.9-3.31.s390x.rpm
  • php-mysql-4.3.9-3.31.ia64.rpm
  • php-xml-5.1.6-27.el5_5.3.i386.rpm
  • php-mbstring-5.1.6-27.el5_5.3.i386.rpm
  • php-ldap-4.3.9-3.31.i386.rpm
  • php-gd-5.1.6-27.el5_5.3.ia64.rpm
  • php-pear-4.3.9-3.31.i386.rpm
  • php-ncurses-4.3.9-3.31.s390x.rpm
  • php-odbc-5.1.6-27.el5_5.3.ppc.rpm
  • php-pgsql-4.3.9-3.31.s390.rpm
  • php-snmp-5.1.6-27.el5_5.3.ppc.rpm
  • php-devel-5.1.6-27.el5_5.3.s390x.rpm
  • php-cli-5.1.6-27.el5_5.3.x86_64.rpm
  • php-odbc-4.3.9-3.31.i386.rpm
  • php-pdo-5.1.6-27.el5_5.3.ia64.rpm
  • php-common-5.1.6-27.el5_5.3.x86_64.rpm
  • php-odbc-4.3.9-3.31.s390.rpm
  • php-xmlrpc-4.3.9-3.31.s390.rpm
  • php-ldap-5.1.6-27.el5_5.3.x86_64.rpm
  • php-odbc-4.3.9-3.31.x86_64.rpm
  • php-devel-5.1.6-27.el5_5.3.ia64.rpm
  • php-gd-4.3.9-3.31.ppc.rpm
  • php-mbstring-4.3.9-3.31.x86_64.rpm
  • php-imap-4.3.9-3.31.s390.rpm
  • php-imap-4.3.9-3.31.x86_64.rpm
  • php-4.3.9-3.31.s390.rpm
  • php-common-5.1.6-27.el5_5.3.s390x.rpm
  • php-pgsql-4.3.9-3.31.i386.rpm
  • php-ldap-4.3.9-3.31.s390x.rpm
  • php-ncurses-5.1.6-27.el5_5.3.i386.rpm
  • php-5.1.6-27.el5_5.3.ia64.rpm
  • php-gd-4.3.9-3.31.x86_64.rpm
  • php-devel-4.3.9-3.31.i386.rpm
  • php-common-5.1.6-27.el5_5.3.ppc.rpm
  • php-4.3.9-3.31.ppc.rpm
  • php-mbstring-5.1.6-27.el5_5.3.x86_64.rpm
  • php-gd-4.3.9-3.31.ia64.rpm
  • php-snmp-4.3.9-3.31.ia64.rpm
  • php-xmlrpc-4.3.9-3.31.x86_64.rpm
  • php-mysql-4.3.9-3.31.ppc.rpm
  • php-devel-4.3.9-3.31.x86_64.rpm
  • php-xmlrpc-4.3.9-3.31.ppc.rpm
  • php-gd-5.1.6-27.el5_5.3.s390x.rpm
  • php-4.3.9-3.31.ia64.rpm
  • php-xml-5.1.6-27.el5_5.3.s390x.rpm
  • php-mbstring-4.3.9-3.31.ppc.rpm
  • php-4.3.9-3.31.s390x.rpm
  • php-dba-5.1.6-27.el5_5.3.i386.rpm
  • php-xmlrpc-4.3.9-3.31.i386.rpm
  • php-devel-5.1.6-27.el5_5.3.i386.rpm
  • php-mysql-5.1.6-27.el5_5.3.x86_64.rpm
  • php-xml-5.1.6-27.el5_5.3.x86_64.rpm
  • php-mbstring-4.3.9-3.31.ia64.rpm
  • php-ldap-4.3.9-3.31.ppc.rpm
  • php-xmlrpc-5.1.6-27.el5_5.3.ppc.rpm
  • php-common-5.1.6-27.el5_5.3.ia64.rpm
  • php-pear-4.3.9-3.31.ia64.rpm
  • php-bcmath-5.1.6-27.el5_5.3.ia64.rpm
  • php-imap-4.3.9-3.31.ia64.rpm
  • php-snmp-5.1.6-27.el5_5.3.i386.rpm
  • php-mbstring-5.1.6-27.el5_5.3.s390x.rpm
  • php-ldap-4.3.9-3.31.s390.rpm
  • php-snmp-5.1.6-27.el5_5.3.ia64.rpm
  • php-mysql-5.1.6-27.el5_5.3.s390x.rpm
  • php-dba-5.1.6-27.el5_5.3.x86_64.rpm
  • php-cli-5.1.6-27.el5_5.3.i386.rpm
  • php-pgsql-5.1.6-27.el5_5.3.ia64.rpm
  • php-snmp-4.3.9-3.31.s390.rpm
  • php-ncurses-4.3.9-3.31.ia64.rpm
  • php-mbstring-5.1.6-27.el5_5.3.ppc.rpm
  • php-odbc-4.3.9-3.31.ia64.rpm
  • php-gd-5.1.6-27.el5_5.3.x86_64.rpm
  • php-gd-4.3.9-3.31.s390x.rpm
  • php-devel-4.3.9-3.31.ppc.rpm
  • php-bcmath-5.1.6-27.el5_5.3.s390x.rpm
  • php-xmlrpc-5.1.6-27.el5_5.3.s390x.rpm
  • php-pgsql-4.3.9-3.31.ia64.rpm
  • php-ldap-5.1.6-27.el5_5.3.i386.rpm
  • php-pdo-5.1.6-27.el5_5.3.x86_64.rpm
  • php-odbc-4.3.9-3.31.s390x.rpm
  • php-bcmath-5.1.6-27.el5_5.3.x86_64.rpm
  • php-gd-4.3.9-3.31.i386.rpm
  • php-5.1.6-27.el5_5.3.s390x.rpm
  • php-bcmath-5.1.6-27.el5_5.3.i386.rpm
  • php-pgsql-5.1.6-27.el5_5.3.i386.rpm
  • php-mbstring-4.3.9-3.31.i386.rpm
  • php-ldap-5.1.6-27.el5_5.3.ia64.rpm
  • php-imap-5.1.6-27.el5_5.3.x86_64.rpm
  • php-dba-5.1.6-27.el5_5.3.s390x.rpm
  • php-pdo-5.1.6-27.el5_5.3.ppc.rpm
  • php-mysql-4.3.9-3.31.i386.rpm
  • php-xml-5.1.6-27.el5_5.3.ia64.rpm
  • php-odbc-5.1.6-27.el5_5.3.x86_64.rpm
  • php-domxml-4.3.9-3.31.s390x.rpm
  • php-mysql-4.3.9-3.31.x86_64.rpm
  • php-snmp-4.3.9-3.31.i386.rpm
  • php-dba-5.1.6-27.el5_5.3.ppc.rpm
  • php-ncurses-5.1.6-27.el5_5.3.s390x.rpm
  • php-ncurses-4.3.9-3.31.x86_64.rpm
  • php-mbstring-4.3.9-3.31.s390.rpm
  • php-odbc-4.3.9-3.31.ppc.rpm
  • php-pgsql-5.1.6-27.el5_5.3.ppc.rpm
  • php-xmlrpc-5.1.6-27.el5_5.3.i386.rpm
  • php-dba-5.1.6-27.el5_5.3.ia64.rpm
  • php-pgsql-4.3.9-3.31.s390x.rpm
  • php-domxml-4.3.9-3.31.i386.rpm
  • php-4.3.9-3.31.i386.rpm
  • php-xmlrpc-4.3.9-3.31.ia64.rpm
  • php-devel-4.3.9-3.31.ia64.rpm
  • php-ldap-5.1.6-27.el5_5.3.ppc.rpm
  • php-xmlrpc-5.1.6-27.el5_5.3.ia64.rpm
  • php-gd-4.3.9-3.31.s390.rpm
  • php-mbstring-4.3.9-3.31.s390x.rpm
  • php-pgsql-4.3.9-3.31.ppc.rpm
  • php-gd-5.1.6-27.el5_5.3.i386.rpm
  • php-ncurses-5.1.6-27.el5_5.3.ppc.rpm
  • php-ncurses-4.3.9-3.31.s390.rpm
  • php-cli-5.1.6-27.el5_5.3.s390x.rpm
  • php-imap-5.1.6-27.el5_5.3.i386.rpm
  • php-xml-5.1.6-27.el5_5.3.ppc.rpm
  • php-snmp-4.3.9-3.31.s390x.rpm
  • php-odbc-5.1.6-27.el5_5.3.i386.rpm
  • php-cli-5.1.6-27.el5_5.3.ia64.rpm
  • php-mysql-5.1.6-27.el5_5.3.ia64.rpm
  • php-devel-5.1.6-27.el5_5.3.x86_64.rpm
  • php-devel-5.1.6-27.el5_5.3.ppc.rpm
  • php-ldap-4.3.9-3.31.x86_64.rpm
  • php-devel-4.3.9-3.31.s390.rpm
  • php-pdo-5.1.6-27.el5_5.3.s390x.rpm
  • php-pgsql-5.1.6-27.el5_5.3.x86_64.rpm
  • php-pgsql-4.3.9-3.31.x86_64.rpm
  • php-imap-4.3.9-3.31.ppc.rpm
  • php-pear-4.3.9-3.31.ppc.rpm
  • php-5.1.6-27.el5_5.3.x86_64.rpm
  • php-soap-5.1.6-27.el5_5.3.ppc.rpm
  • php-imap-4.3.9-3.31.s390x.rpm
  • php-xmlrpc-4.3.9-3.31.s390x.rpm
  • php-ncurses-5.1.6-27.el5_5.3.ia64.rpm
  • php-ncurses-5.1.6-27.el5_5.3.x86_64.rpm
  • php-snmp-5.1.6-27.el5_5.3.s390x.rpm
  • php-imap-4.3.9-3.31.i386.rpm
  • php-domxml-4.3.9-3.31.x86_64.rpm
  • php-snmp-4.3.9-3.31.x86_64.rpm
  • php-4.3.9-3.31.x86_64.rpm
  • php-5.1.6-27.el5_5.3.src.rpm
  • php-pdo-5.1.6-27.el5_5.3.i386.rpm
  • php-mbstring-5.1.6-27.el5_5.3.ia64.rpm
  • php-domxml-4.3.9-3.31.ia64.rpm
  • php-odbc-5.1.6-27.el5_5.3.ia64.rpm
  • php-cli-5.1.6-27.el5_5.3.ppc.rpm
  • php-soap-5.1.6-27.el5_5.3.x86_64.rpm
  • php-pear-4.3.9-3.31.s390.rpm
  • php-pear-4.3.9-3.31.s390x.rpm
  • php-pgsql-5.1.6-27.el5_5.3.s390x.rpm
  • php-ncurses-4.3.9-3.31.i386.rpm
  • php-domxml-4.3.9-3.31.s390.rpm
  • php-odbc-5.1.6-27.el5_5.3.s390x.rpm
  • php-4.3.9-3.31.src.rpm
  • php-gd-5.1.6-27.el5_5.3.ppc.rpm
  • php-soap-5.1.6-27.el5_5.3.i386.rpm

Fixes

CVEs

References


Additional information