Issued:
2013-02-21
Updated:
2013-02-21

RHSA-2013:0514 - Moderate: php security, bug fix and enhancement update


Synopsis

Moderate: php security, bug fix and enhancement update

Type/Severity

Security Advisory Moderate

Topic

Updated php packages that fix three security issues, several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6.

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.

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 could use this flaw to perform HTTP response splitting attacks. (CVE-2011-1398)

An integer signedness issue, leading to a heap-based buffer underflow, was found in the PHP scandir() function. If a remote attacker could upload an excessively large number of files to a directory the scandir() function runs on, it could cause the PHP interpreter to crash or, possibly, execute arbitrary code. (CVE-2012-2688)

It was found that PHP did not correctly handle the magic_quotes_gpc configuration directive. This could result in magic_quotes_gpc input escaping not being applied in all cases, possibly making it easier for a remote attacker to perform SQL injection attacks. (CVE-2012-0831)

These updated php packages also include numerous bug fixes and enhancements. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.4 Technical Notes, linked to in the References, for information on the most significant of these changes.

All users of php are advised to upgrade to these updated packages, which fix these issues and add these enhancements. 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 https://access.redhat.com/knowledge/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • php-tidy-5.3.3-22.el6.i686.rpm
  • php-enchant-5.3.3-22.el6.i686.rpm
  • php-debuginfo-5.3.3-22.el6.ppc64.rpm
  • php-imap-5.3.3-22.el6.i686.rpm
  • php-intl-5.3.3-22.el6.x86_64.rpm
  • php-intl-5.3.3-22.el6.i686.rpm
  • php-odbc-5.3.3-22.el6.x86_64.rpm
  • php-mbstring-5.3.3-22.el6.x86_64.rpm
  • php-soap-5.3.3-22.el6.ppc64.rpm
  • php-recode-5.3.3-22.el6.s390x.rpm
  • php-imap-5.3.3-22.el6.s390x.rpm
  • php-imap-5.3.3-22.el6.x86_64.rpm
  • php-common-5.3.3-22.el6.i686.rpm
  • php-bcmath-5.3.3-22.el6.x86_64.rpm
  • php-xmlrpc-5.3.3-22.el6.x86_64.rpm
  • php-intl-5.3.3-22.el6.s390x.rpm
  • php-recode-5.3.3-22.el6.x86_64.rpm
  • php-mbstring-5.3.3-22.el6.ppc64.rpm
  • php-5.3.3-22.el6.i686.rpm
  • php-5.3.3-22.el6.src.rpm
  • php-fpm-5.3.3-22.el6.ppc64.rpm
  • php-devel-5.3.3-22.el6.x86_64.rpm
  • php-pspell-5.3.3-22.el6.x86_64.rpm
  • php-xml-5.3.3-22.el6.i686.rpm
  • php-mbstring-5.3.3-22.el6.s390x.rpm
  • php-cli-5.3.3-22.el6.x86_64.rpm
  • php-devel-5.3.3-22.el6.s390x.rpm
  • php-soap-5.3.3-22.el6.x86_64.rpm
  • php-enchant-5.3.3-22.el6.x86_64.rpm
  • php-xmlrpc-5.3.3-22.el6.ppc64.rpm
  • php-embedded-5.3.3-22.el6.x86_64.rpm
  • php-pdo-5.3.3-22.el6.i686.rpm
  • php-xmlrpc-5.3.3-22.el6.s390x.rpm
  • php-xml-5.3.3-22.el6.s390x.rpm
  • php-pdo-5.3.3-22.el6.ppc64.rpm
  • php-zts-5.3.3-22.el6.x86_64.rpm
  • php-pgsql-5.3.3-22.el6.s390x.rpm
  • php-cli-5.3.3-22.el6.i686.rpm
  • php-ldap-5.3.3-22.el6.i686.rpm
  • php-debuginfo-5.3.3-22.el6.s390x.rpm
  • php-pdo-5.3.3-22.el6.x86_64.rpm
  • php-pspell-5.3.3-22.el6.ppc64.rpm
  • php-debuginfo-5.3.3-22.el6.x86_64.rpm
  • php-mysql-5.3.3-22.el6.i686.rpm
  • php-recode-5.3.3-22.el6.i686.rpm
  • php-pgsql-5.3.3-22.el6.i686.rpm
  • php-pdo-5.3.3-22.el6.s390x.rpm
  • php-process-5.3.3-22.el6.i686.rpm
  • php-soap-5.3.3-22.el6.s390x.rpm
  • php-process-5.3.3-22.el6.ppc64.rpm
  • php-fpm-5.3.3-22.el6.i686.rpm
  • php-gd-5.3.3-22.el6.ppc64.rpm
  • php-recode-5.3.3-22.el6.ppc64.rpm
  • php-cli-5.3.3-22.el6.ppc64.rpm
  • php-5.3.3-22.el6.s390x.rpm
  • php-ldap-5.3.3-22.el6.s390x.rpm
  • php-mysql-5.3.3-22.el6.s390x.rpm
  • php-xmlrpc-5.3.3-22.el6.i686.rpm
  • php-common-5.3.3-22.el6.ppc64.rpm
  • php-enchant-5.3.3-22.el6.s390x.rpm
  • php-enchant-5.3.3-22.el6.ppc64.rpm
  • php-process-5.3.3-22.el6.s390x.rpm
  • php-snmp-5.3.3-22.el6.x86_64.rpm
  • php-common-5.3.3-22.el6.x86_64.rpm
  • php-xml-5.3.3-22.el6.x86_64.rpm
  • php-zts-5.3.3-22.el6.i686.rpm
  • php-snmp-5.3.3-22.el6.i686.rpm
  • php-mbstring-5.3.3-22.el6.i686.rpm
  • php-snmp-5.3.3-22.el6.ppc64.rpm
  • php-gd-5.3.3-22.el6.s390x.rpm
  • php-fpm-5.3.3-22.el6.x86_64.rpm
  • php-fpm-5.3.3-22.el6.s390x.rpm
  • php-embedded-5.3.3-22.el6.s390x.rpm
  • php-mysql-5.3.3-22.el6.x86_64.rpm
  • php-xml-5.3.3-22.el6.ppc64.rpm
  • php-gd-5.3.3-22.el6.i686.rpm
  • php-intl-5.3.3-22.el6.ppc64.rpm
  • php-pgsql-5.3.3-22.el6.ppc64.rpm
  • php-5.3.3-22.el6.x86_64.rpm
  • php-dba-5.3.3-22.el6.x86_64.rpm
  • php-mysql-5.3.3-22.el6.ppc64.rpm
  • php-imap-5.3.3-22.el6.ppc64.rpm
  • php-devel-5.3.3-22.el6.i686.rpm
  • php-zts-5.3.3-22.el6.ppc64.rpm
  • php-dba-5.3.3-22.el6.ppc64.rpm
  • php-cli-5.3.3-22.el6.s390x.rpm
  • php-ldap-5.3.3-22.el6.ppc64.rpm
  • php-embedded-5.3.3-22.el6.i686.rpm
  • php-tidy-5.3.3-22.el6.x86_64.rpm
  • php-gd-5.3.3-22.el6.x86_64.rpm
  • php-zts-5.3.3-22.el6.s390x.rpm
  • php-pspell-5.3.3-22.el6.s390x.rpm
  • php-common-5.3.3-22.el6.s390x.rpm
  • php-embedded-5.3.3-22.el6.ppc64.rpm
  • php-odbc-5.3.3-22.el6.i686.rpm
  • php-soap-5.3.3-22.el6.i686.rpm
  • php-pspell-5.3.3-22.el6.i686.rpm
  • php-bcmath-5.3.3-22.el6.i686.rpm
  • php-tidy-5.3.3-22.el6.s390x.rpm
  • php-process-5.3.3-22.el6.x86_64.rpm
  • php-tidy-5.3.3-22.el6.ppc64.rpm
  • php-dba-5.3.3-22.el6.i686.rpm
  • php-5.3.3-22.el6.ppc64.rpm
  • php-odbc-5.3.3-22.el6.ppc64.rpm
  • php-odbc-5.3.3-22.el6.s390x.rpm
  • php-dba-5.3.3-22.el6.s390x.rpm
  • php-pgsql-5.3.3-22.el6.x86_64.rpm
  • php-bcmath-5.3.3-22.el6.ppc64.rpm
  • php-ldap-5.3.3-22.el6.x86_64.rpm
  • php-bcmath-5.3.3-22.el6.s390x.rpm
  • php-debuginfo-5.3.3-22.el6.i686.rpm
  • php-devel-5.3.3-22.el6.ppc64.rpm
  • php-snmp-5.3.3-22.el6.s390x.rpm

Fixes

CVEs

References


Additional information