Issued:
2012-05-07
Updated:
2012-05-07

RHSA-2012:0546 - Critical: php security update


Synopsis

Critical: php security update

Type/Severity

Security Advisory Critical

Topic

Updated php packages that fix one security issue are now available for Red Hat Enterprise Linux 5 and 6.

The Red Hat Security Response Team has rated this update as having critical security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.

Description

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

A flaw was found in the way the php-cgi executable processed command line arguments when running in CGI mode. A remote attacker could send a specially-crafted request to a PHP script that would result in the query string being parsed by php-cgi as command line options and arguments. This could lead to the disclosure of the script's source code or arbitrary code execution with the privileges of the PHP interpreter. (CVE-2012-1823)

Red Hat is aware that a public exploit for this issue is available that allows remote code execution in affected PHP CGI configurations. This flaw does not affect the default configuration in Red Hat Enterprise Linux 5 and 6 using the PHP module for Apache httpd to handle PHP scripts.

All php users should upgrade to these updated packages, which contain a backported patch to resolve this issue. 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 Storage2.0x86_64
Red Hat Storage for Public Cloud (via RHUI)2.0x86_64
Red Hat Gluster Storage Server for On-premise2.0x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2i386
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for Power, big endian - Extended Update Support6.2ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support6.2s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2i386
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 Server - AUS6.2x86_64
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • php-ncurses-5.1.6-34.el5_8.ppc.rpm
  • php-embedded-5.3.3-3.el6_2.8.i686.rpm
  • php-mysql-5.3.3-3.el6_2.8.s390x.rpm
  • php-soap-5.1.6-34.el5_8.ppc.rpm
  • php-mbstring-5.1.6-34.el5_8.ia64.rpm
  • php-odbc-5.3.3-3.el6_2.8.x86_64.rpm
  • php-process-5.3.3-3.el6_2.8.x86_64.rpm
  • php-pgsql-5.3.3-3.el6_2.8.s390x.rpm
  • php-devel-5.3.3-3.el6_2.8.i686.rpm
  • php-devel-5.1.6-34.el5_8.ia64.rpm
  • php-bcmath-5.3.3-3.el6_2.8.ppc64.rpm
  • php-xmlrpc-5.1.6-34.el5_8.s390x.rpm
  • php-pdo-5.1.6-34.el5_8.ppc.rpm
  • php-pspell-5.3.3-3.el6_2.8.ppc64.rpm
  • php-process-5.3.3-3.el6_2.8.ppc64.rpm
  • php-mysql-5.1.6-34.el5_8.s390x.rpm
  • php-cli-5.3.3-3.el6_2.8.s390x.rpm
  • php-ncurses-5.1.6-34.el5_8.x86_64.rpm
  • php-pgsql-5.1.6-34.el5_8.x86_64.rpm
  • php-cli-5.3.3-3.el6_2.8.ppc64.rpm
  • php-ncurses-5.1.6-34.el5_8.i386.rpm
  • php-common-5.1.6-34.el5_8.x86_64.rpm
  • php-gd-5.1.6-34.el5_8.x86_64.rpm
  • php-xmlrpc-5.1.6-34.el5_8.ppc.rpm
  • php-pspell-5.3.3-3.el6_2.8.i686.rpm
  • php-soap-5.3.3-3.el6_2.8.s390x.rpm
  • php-dba-5.1.6-34.el5_8.s390x.rpm
  • php-dba-5.3.3-3.el6_2.8.x86_64.rpm
  • php-5.1.6-34.el5_8.x86_64.rpm
  • php-ncurses-5.1.6-34.el5_8.s390x.rpm
  • php-common-5.1.6-34.el5_8.i386.rpm
  • php-soap-5.1.6-34.el5_8.i386.rpm
  • php-5.3.3-3.el6_2.8.i686.rpm
  • php-process-5.3.3-3.el6_2.8.i686.rpm
  • php-devel-5.1.6-34.el5_8.i386.rpm
  • php-pdo-5.3.3-3.el6_2.8.i686.rpm
  • php-snmp-5.1.6-34.el5_8.s390x.rpm
  • php-devel-5.1.6-34.el5_8.s390x.rpm
  • php-pdo-5.1.6-34.el5_8.x86_64.rpm
  • php-pgsql-5.1.6-34.el5_8.ia64.rpm
  • php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm
  • php-xml-5.3.3-3.el6_2.8.x86_64.rpm
  • php-imap-5.1.6-34.el5_8.s390x.rpm
  • php-embedded-5.3.3-3.el6_2.8.s390x.rpm
  • php-process-5.3.3-3.el6_2.8.s390x.rpm
  • php-pdo-5.1.6-34.el5_8.s390x.rpm
  • php-mbstring-5.1.6-34.el5_8.ppc.rpm
  • php-xml-5.1.6-34.el5_8.i386.rpm
  • php-tidy-5.3.3-3.el6_2.8.x86_64.rpm
  • php-5.3.3-3.el6_2.8.ppc64.rpm
  • php-mbstring-5.3.3-3.el6_2.8.i686.rpm
  • php-enchant-5.3.3-3.el6_2.8.s390x.rpm
  • php-pgsql-5.3.3-3.el6_2.8.i686.rpm
  • php-odbc-5.1.6-34.el5_8.ia64.rpm
  • php-soap-5.3.3-3.el6_2.8.x86_64.rpm
  • php-intl-5.3.3-3.el6_2.8.ppc64.rpm
  • php-mysql-5.1.6-34.el5_8.x86_64.rpm
  • php-xmlrpc-5.3.3-3.el6_2.8.ppc64.rpm
  • php-intl-5.3.3-3.el6_2.8.s390x.rpm
  • php-imap-5.1.6-34.el5_8.x86_64.rpm
  • php-debuginfo-5.3.3-3.el6_2.8.x86_64.rpm
  • php-mbstring-5.1.6-34.el5_8.x86_64.rpm
  • php-dba-5.3.3-3.el6_2.8.i686.rpm
  • php-tidy-5.3.3-3.el6_2.8.i686.rpm
  • php-soap-5.3.3-3.el6_2.8.i686.rpm
  • php-cli-5.3.3-3.el6_2.8.x86_64.rpm
  • php-common-5.3.3-3.el6_2.8.x86_64.rpm
  • php-recode-5.3.3-3.el6_2.8.s390x.rpm
  • php-embedded-5.3.3-3.el6_2.8.x86_64.rpm
  • php-snmp-5.3.3-3.el6_2.8.s390x.rpm
  • php-snmp-5.3.3-3.el6_2.8.x86_64.rpm
  • php-zts-5.3.3-3.el6_2.8.x86_64.rpm
  • php-pdo-5.1.6-34.el5_8.i386.rpm
  • php-tidy-5.3.3-3.el6_2.8.s390x.rpm
  • php-zts-5.3.3-3.el6_2.8.s390x.rpm
  • php-ldap-5.1.6-34.el5_8.ppc.rpm
  • php-5.1.6-34.el5_8.src.rpm
  • php-pdo-5.3.3-3.el6_2.8.s390x.rpm
  • php-common-5.3.3-3.el6_2.8.s390x.rpm
  • php-ldap-5.1.6-34.el5_8.s390x.rpm
  • php-snmp-5.1.6-34.el5_8.ia64.rpm
  • php-5.3.3-3.el6_2.8.x86_64.rpm
  • php-odbc-5.3.3-3.el6_2.8.s390x.rpm
  • php-pspell-5.3.3-3.el6_2.8.s390x.rpm
  • php-dba-5.1.6-34.el5_8.i386.rpm
  • php-5.1.6-34.el5_8.s390x.rpm
  • php-ldap-5.3.3-3.el6_2.8.s390x.rpm
  • php-cli-5.1.6-34.el5_8.ia64.rpm
  • php-devel-5.3.3-3.el6_2.8.s390x.rpm
  • php-cli-5.1.6-34.el5_8.i386.rpm
  • php-xmlrpc-5.3.3-3.el6_2.8.x86_64.rpm
  • php-imap-5.3.3-3.el6_2.8.s390x.rpm
  • php-debuginfo-5.3.3-3.el6_2.8.ppc64.rpm
  • php-snmp-5.3.3-3.el6_2.8.ppc64.rpm
  • php-cli-5.1.6-34.el5_8.ppc.rpm
  • php-mbstring-5.1.6-34.el5_8.s390x.rpm
  • php-xmlrpc-5.1.6-34.el5_8.i386.rpm
  • php-gd-5.1.6-34.el5_8.i386.rpm
  • php-snmp-5.1.6-34.el5_8.x86_64.rpm
  • php-tidy-5.3.3-3.el6_2.8.ppc64.rpm
  • php-imap-5.1.6-34.el5_8.i386.rpm
  • php-debuginfo-5.3.3-3.el6_2.8.i686.rpm
  • php-xml-5.1.6-34.el5_8.ia64.rpm
  • php-bcmath-5.3.3-3.el6_2.8.x86_64.rpm
  • php-bcmath-5.1.6-34.el5_8.ppc.rpm
  • php-gd-5.1.6-34.el5_8.ppc.rpm
  • php-pgsql-5.1.6-34.el5_8.s390x.rpm
  • php-gd-5.1.6-34.el5_8.s390x.rpm
  • php-imap-5.3.3-3.el6_2.8.i686.rpm
  • php-cli-5.3.3-3.el6_2.8.i686.rpm
  • php-enchant-5.3.3-3.el6_2.8.x86_64.rpm
  • php-mysql-5.3.3-3.el6_2.8.x86_64.rpm
  • php-common-5.3.3-3.el6_2.8.ppc64.rpm
  • php-soap-5.3.3-3.el6_2.8.ppc64.rpm
  • php-xml-5.3.3-3.el6_2.8.ppc64.rpm
  • php-pdo-5.1.6-34.el5_8.ia64.rpm
  • php-gd-5.3.3-3.el6_2.8.i686.rpm
  • php-xml-5.1.6-34.el5_8.ppc.rpm
  • php-bcmath-5.3.3-3.el6_2.8.i686.rpm
  • php-mbstring-5.1.6-34.el5_8.i386.rpm
  • php-imap-5.1.6-34.el5_8.ppc.rpm
  • php-snmp-5.1.6-34.el5_8.i386.rpm
  • php-mysql-5.1.6-34.el5_8.ia64.rpm
  • php-dba-5.1.6-34.el5_8.ppc.rpm
  • php-pdo-5.3.3-3.el6_2.8.x86_64.rpm
  • php-mbstring-5.3.3-3.el6_2.8.s390x.rpm
  • php-common-5.1.6-34.el5_8.ia64.rpm
  • php-dba-5.3.3-3.el6_2.8.s390x.rpm
  • php-xmlrpc-5.3.3-3.el6_2.8.s390x.rpm
  • php-bcmath-5.1.6-34.el5_8.ia64.rpm
  • php-xmlrpc-5.1.6-34.el5_8.x86_64.rpm
  • php-bcmath-5.3.3-3.el6_2.8.s390x.rpm
  • php-zts-5.3.3-3.el6_2.8.ppc64.rpm
  • php-common-5.1.6-34.el5_8.ppc.rpm
  • php-ldap-5.3.3-3.el6_2.8.ppc64.rpm
  • php-soap-5.1.6-34.el5_8.s390x.rpm
  • php-mysql-5.1.6-34.el5_8.i386.rpm
  • php-soap-5.1.6-34.el5_8.x86_64.rpm
  • php-bcmath-5.1.6-34.el5_8.i386.rpm
  • php-dba-5.1.6-34.el5_8.ia64.rpm
  • php-devel-5.1.6-34.el5_8.ppc.rpm
  • php-bcmath-5.1.6-34.el5_8.x86_64.rpm
  • php-ldap-5.3.3-3.el6_2.8.i686.rpm
  • php-pspell-5.3.3-3.el6_2.8.x86_64.rpm
  • php-mbstring-5.3.3-3.el6_2.8.ppc64.rpm
  • php-imap-5.1.6-34.el5_8.ia64.rpm
  • php-odbc-5.1.6-34.el5_8.x86_64.rpm
  • php-pdo-5.3.3-3.el6_2.8.ppc64.rpm
  • php-devel-5.1.6-34.el5_8.x86_64.rpm
  • php-embedded-5.3.3-3.el6_2.8.ppc64.rpm
  • php-gd-5.3.3-3.el6_2.8.x86_64.rpm
  • php-5.3.3-3.el6_2.8.src.rpm
  • php-soap-5.1.6-34.el5_8.ia64.rpm
  • php-ldap-5.1.6-34.el5_8.x86_64.rpm
  • php-common-5.3.3-3.el6_2.8.i686.rpm
  • php-odbc-5.1.6-34.el5_8.ppc.rpm
  • php-pgsql-5.1.6-34.el5_8.i386.rpm
  • php-odbc-5.1.6-34.el5_8.s390x.rpm
  • php-xmlrpc-5.3.3-3.el6_2.8.i686.rpm
  • php-devel-5.3.3-3.el6_2.8.ppc64.rpm
  • php-enchant-5.3.3-3.el6_2.8.ppc64.rpm
  • php-ncurses-5.1.6-34.el5_8.ia64.rpm
  • php-enchant-5.3.3-3.el6_2.8.i686.rpm
  • php-odbc-5.3.3-3.el6_2.8.ppc64.rpm
  • php-mysql-5.1.6-34.el5_8.ppc.rpm
  • php-xml-5.3.3-3.el6_2.8.i686.rpm
  • php-gd-5.3.3-3.el6_2.8.ppc64.rpm
  • php-debuginfo-5.3.3-3.el6_2.8.s390x.rpm
  • php-mysql-5.3.3-3.el6_2.8.ppc64.rpm
  • php-odbc-5.3.3-3.el6_2.8.i686.rpm
  • php-imap-5.3.3-3.el6_2.8.x86_64.rpm
  • php-imap-5.3.3-3.el6_2.8.ppc64.rpm
  • php-cli-5.1.6-34.el5_8.x86_64.rpm
  • php-zts-5.3.3-3.el6_2.8.i686.rpm
  • php-ldap-5.1.6-34.el5_8.i386.rpm
  • php-xml-5.1.6-34.el5_8.s390x.rpm
  • php-5.1.6-34.el5_8.ia64.rpm
  • php-pgsql-5.1.6-34.el5_8.ppc.rpm
  • php-intl-5.3.3-3.el6_2.8.i686.rpm
  • php-gd-5.1.6-34.el5_8.ia64.rpm
  • php-ldap-5.1.6-34.el5_8.ia64.rpm
  • php-odbc-5.1.6-34.el5_8.i386.rpm
  • php-xmlrpc-5.1.6-34.el5_8.ia64.rpm
  • php-intl-5.3.3-3.el6_2.8.x86_64.rpm
  • php-pgsql-5.3.3-3.el6_2.8.x86_64.rpm
  • php-snmp-5.1.6-34.el5_8.ppc.rpm
  • php-recode-5.3.3-3.el6_2.8.i686.rpm
  • php-cli-5.1.6-34.el5_8.s390x.rpm
  • php-dba-5.3.3-3.el6_2.8.ppc64.rpm
  • php-bcmath-5.1.6-34.el5_8.s390x.rpm
  • php-dba-5.1.6-34.el5_8.x86_64.rpm
  • php-recode-5.3.3-3.el6_2.8.ppc64.rpm
  • php-5.3.3-3.el6_2.8.s390x.rpm
  • php-pgsql-5.3.3-3.el6_2.8.ppc64.rpm
  • php-snmp-5.3.3-3.el6_2.8.i686.rpm
  • php-5.1.6-34.el5_8.ppc.rpm
  • php-xml-5.3.3-3.el6_2.8.s390x.rpm
  • php-5.1.6-34.el5_8.i386.rpm
  • php-xml-5.1.6-34.el5_8.x86_64.rpm
  • php-recode-5.3.3-3.el6_2.8.x86_64.rpm
  • php-common-5.1.6-34.el5_8.s390x.rpm
  • php-devel-5.3.3-3.el6_2.8.x86_64.rpm
  • php-gd-5.3.3-3.el6_2.8.s390x.rpm
  • php-mysql-5.3.3-3.el6_2.8.i686.rpm
  • php-ldap-5.3.3-3.el6_2.8.x86_64.rpm

Fixes

CVEs

References


Additional information