-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ===================================================================== Red Hat Security Advisory Synopsis: Moderate: php security, bug fix, and enhancement update Advisory ID: RHSA-2013:1615-02 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2013-1615.html Issue date: 2013-11-21 CVE Names: CVE-2006-7243 CVE-2013-1643 CVE-2013-4248 ===================================================================== 1. Summary: Updated php packages that fix three security issues, several bugs, and add one enhancement 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. 2. Relevant releases/architectures: Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64 Red Hat Enterprise Linux HPC Node (v. 6) - x86_64 Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64 Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64 Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64 3. Description: PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server. It was found that PHP did not properly handle file names with a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions. (CVE-2006-7243) A flaw was found in PHP's SSL client's hostname identity check when handling certificates that contain hostnames with NULL bytes. If an attacker was able to get a carefully crafted certificate signed by a trusted Certificate Authority, the attacker could use the certificate to conduct man-in-the-middle attacks to spoof SSL servers. (CVE-2013-4248) It was found that the PHP SOAP parser allowed the expansion of external XML entities during SOAP message parsing. A remote attacker could possibly use this flaw to read arbitrary files that are accessible to a PHP application using a SOAP extension. (CVE-2013-1643) This update fixes the following bugs: * Previously, when the allow_call_time_pass_reference setting was disabled, a virtual host on the Apache server could terminate with a segmentation fault when attempting to process certain PHP content. This bug has been fixed and virtual hosts no longer crash when allow_call_time_pass_reference is off. (BZ#892158, BZ#910466) * Prior to this update, if an error occurred during the operation of the fclose(), file_put_contents(), or copy() function, the function did not report it. This could have led to data loss. With this update, the aforementioned functions have been modified to properly report any errors. (BZ#947429) * The internal buffer for the SQLSTATE error code can store maximum of 5 characters. Previously, when certain calls exceeded this limit, a buffer overflow occurred. With this update, messages longer than 5 characters are automatically replaced with the default "HY000" string, thus preventing the overflow. (BZ#969110) In addition, this update adds the following enhancement: * This update adds the following rpm macros to the php package: %__php, %php_inidir, %php_incldir. (BZ#953814) Users of php are advised to upgrade to these updated packages, which fix these bugs and add this enhancement. After installing the updated packages, the httpd daemon must be restarted for the update to take effect. 4. 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/site/articles/11258 5. Bugs fixed (https://bugzilla.redhat.com/): 662707 - CVE-2006-7243 php: paths with NULL character were considered valid 892158 - Apache 2.2.15 on RHEL 6.3 segfaults with certain PHP content 918187 - CVE-2013-1643 php: Ability to read arbitrary files due use of external entities while parsing SOAP WSDL files 953814 - Please provide %php_inidir, %php_incldir and %__php 997097 - CVE-2013-4248 php: hostname check bypassing vulnerability in SSL client 6. Package List: Red Hat Enterprise Linux Desktop Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/php-5.3.3-26.el6.src.rpm i386: php-5.3.3-26.el6.i686.rpm php-bcmath-5.3.3-26.el6.i686.rpm php-cli-5.3.3-26.el6.i686.rpm php-common-5.3.3-26.el6.i686.rpm php-dba-5.3.3-26.el6.i686.rpm php-debuginfo-5.3.3-26.el6.i686.rpm php-devel-5.3.3-26.el6.i686.rpm php-embedded-5.3.3-26.el6.i686.rpm php-enchant-5.3.3-26.el6.i686.rpm php-fpm-5.3.3-26.el6.i686.rpm php-gd-5.3.3-26.el6.i686.rpm php-imap-5.3.3-26.el6.i686.rpm php-intl-5.3.3-26.el6.i686.rpm php-ldap-5.3.3-26.el6.i686.rpm php-mbstring-5.3.3-26.el6.i686.rpm php-mysql-5.3.3-26.el6.i686.rpm php-odbc-5.3.3-26.el6.i686.rpm php-pdo-5.3.3-26.el6.i686.rpm php-pgsql-5.3.3-26.el6.i686.rpm php-process-5.3.3-26.el6.i686.rpm php-pspell-5.3.3-26.el6.i686.rpm php-recode-5.3.3-26.el6.i686.rpm php-snmp-5.3.3-26.el6.i686.rpm php-soap-5.3.3-26.el6.i686.rpm php-tidy-5.3.3-26.el6.i686.rpm php-xml-5.3.3-26.el6.i686.rpm php-xmlrpc-5.3.3-26.el6.i686.rpm php-zts-5.3.3-26.el6.i686.rpm x86_64: php-5.3.3-26.el6.x86_64.rpm php-bcmath-5.3.3-26.el6.x86_64.rpm php-cli-5.3.3-26.el6.x86_64.rpm php-common-5.3.3-26.el6.x86_64.rpm php-dba-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-devel-5.3.3-26.el6.x86_64.rpm php-embedded-5.3.3-26.el6.x86_64.rpm php-enchant-5.3.3-26.el6.x86_64.rpm php-fpm-5.3.3-26.el6.x86_64.rpm php-gd-5.3.3-26.el6.x86_64.rpm php-imap-5.3.3-26.el6.x86_64.rpm php-intl-5.3.3-26.el6.x86_64.rpm php-ldap-5.3.3-26.el6.x86_64.rpm php-mbstring-5.3.3-26.el6.x86_64.rpm php-mysql-5.3.3-26.el6.x86_64.rpm php-odbc-5.3.3-26.el6.x86_64.rpm php-pdo-5.3.3-26.el6.x86_64.rpm php-pgsql-5.3.3-26.el6.x86_64.rpm php-process-5.3.3-26.el6.x86_64.rpm php-pspell-5.3.3-26.el6.x86_64.rpm php-recode-5.3.3-26.el6.x86_64.rpm php-snmp-5.3.3-26.el6.x86_64.rpm php-soap-5.3.3-26.el6.x86_64.rpm php-tidy-5.3.3-26.el6.x86_64.rpm php-xml-5.3.3-26.el6.x86_64.rpm php-xmlrpc-5.3.3-26.el6.x86_64.rpm php-zts-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux HPC Node (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/php-5.3.3-26.el6.src.rpm x86_64: php-cli-5.3.3-26.el6.x86_64.rpm php-common-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux HPC Node Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/php-5.3.3-26.el6.src.rpm x86_64: php-5.3.3-26.el6.x86_64.rpm php-bcmath-5.3.3-26.el6.x86_64.rpm php-dba-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-devel-5.3.3-26.el6.x86_64.rpm php-embedded-5.3.3-26.el6.x86_64.rpm php-enchant-5.3.3-26.el6.x86_64.rpm php-fpm-5.3.3-26.el6.x86_64.rpm php-gd-5.3.3-26.el6.x86_64.rpm php-imap-5.3.3-26.el6.x86_64.rpm php-intl-5.3.3-26.el6.x86_64.rpm php-ldap-5.3.3-26.el6.x86_64.rpm php-mbstring-5.3.3-26.el6.x86_64.rpm php-mysql-5.3.3-26.el6.x86_64.rpm php-odbc-5.3.3-26.el6.x86_64.rpm php-pdo-5.3.3-26.el6.x86_64.rpm php-pgsql-5.3.3-26.el6.x86_64.rpm php-process-5.3.3-26.el6.x86_64.rpm php-pspell-5.3.3-26.el6.x86_64.rpm php-recode-5.3.3-26.el6.x86_64.rpm php-snmp-5.3.3-26.el6.x86_64.rpm php-soap-5.3.3-26.el6.x86_64.rpm php-tidy-5.3.3-26.el6.x86_64.rpm php-xml-5.3.3-26.el6.x86_64.rpm php-xmlrpc-5.3.3-26.el6.x86_64.rpm php-zts-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux Server (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/php-5.3.3-26.el6.src.rpm i386: php-5.3.3-26.el6.i686.rpm php-cli-5.3.3-26.el6.i686.rpm php-common-5.3.3-26.el6.i686.rpm php-debuginfo-5.3.3-26.el6.i686.rpm php-gd-5.3.3-26.el6.i686.rpm php-ldap-5.3.3-26.el6.i686.rpm php-mysql-5.3.3-26.el6.i686.rpm php-odbc-5.3.3-26.el6.i686.rpm php-pdo-5.3.3-26.el6.i686.rpm php-pgsql-5.3.3-26.el6.i686.rpm php-soap-5.3.3-26.el6.i686.rpm php-xml-5.3.3-26.el6.i686.rpm php-xmlrpc-5.3.3-26.el6.i686.rpm ppc64: php-5.3.3-26.el6.ppc64.rpm php-cli-5.3.3-26.el6.ppc64.rpm php-common-5.3.3-26.el6.ppc64.rpm php-debuginfo-5.3.3-26.el6.ppc64.rpm php-gd-5.3.3-26.el6.ppc64.rpm php-ldap-5.3.3-26.el6.ppc64.rpm php-mysql-5.3.3-26.el6.ppc64.rpm php-odbc-5.3.3-26.el6.ppc64.rpm php-pdo-5.3.3-26.el6.ppc64.rpm php-pgsql-5.3.3-26.el6.ppc64.rpm php-soap-5.3.3-26.el6.ppc64.rpm php-xml-5.3.3-26.el6.ppc64.rpm php-xmlrpc-5.3.3-26.el6.ppc64.rpm s390x: php-5.3.3-26.el6.s390x.rpm php-cli-5.3.3-26.el6.s390x.rpm php-common-5.3.3-26.el6.s390x.rpm php-debuginfo-5.3.3-26.el6.s390x.rpm php-gd-5.3.3-26.el6.s390x.rpm php-ldap-5.3.3-26.el6.s390x.rpm php-mysql-5.3.3-26.el6.s390x.rpm php-odbc-5.3.3-26.el6.s390x.rpm php-pdo-5.3.3-26.el6.s390x.rpm php-pgsql-5.3.3-26.el6.s390x.rpm php-soap-5.3.3-26.el6.s390x.rpm php-xml-5.3.3-26.el6.s390x.rpm php-xmlrpc-5.3.3-26.el6.s390x.rpm x86_64: php-5.3.3-26.el6.x86_64.rpm php-cli-5.3.3-26.el6.x86_64.rpm php-common-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-gd-5.3.3-26.el6.x86_64.rpm php-ldap-5.3.3-26.el6.x86_64.rpm php-mysql-5.3.3-26.el6.x86_64.rpm php-odbc-5.3.3-26.el6.x86_64.rpm php-pdo-5.3.3-26.el6.x86_64.rpm php-pgsql-5.3.3-26.el6.x86_64.rpm php-soap-5.3.3-26.el6.x86_64.rpm php-xml-5.3.3-26.el6.x86_64.rpm php-xmlrpc-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux Server Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/php-5.3.3-26.el6.src.rpm i386: php-bcmath-5.3.3-26.el6.i686.rpm php-dba-5.3.3-26.el6.i686.rpm php-debuginfo-5.3.3-26.el6.i686.rpm php-devel-5.3.3-26.el6.i686.rpm php-embedded-5.3.3-26.el6.i686.rpm php-enchant-5.3.3-26.el6.i686.rpm php-fpm-5.3.3-26.el6.i686.rpm php-imap-5.3.3-26.el6.i686.rpm php-intl-5.3.3-26.el6.i686.rpm php-mbstring-5.3.3-26.el6.i686.rpm php-process-5.3.3-26.el6.i686.rpm php-pspell-5.3.3-26.el6.i686.rpm php-recode-5.3.3-26.el6.i686.rpm php-snmp-5.3.3-26.el6.i686.rpm php-tidy-5.3.3-26.el6.i686.rpm php-zts-5.3.3-26.el6.i686.rpm ppc64: php-bcmath-5.3.3-26.el6.ppc64.rpm php-dba-5.3.3-26.el6.ppc64.rpm php-debuginfo-5.3.3-26.el6.ppc64.rpm php-devel-5.3.3-26.el6.ppc64.rpm php-embedded-5.3.3-26.el6.ppc64.rpm php-enchant-5.3.3-26.el6.ppc64.rpm php-fpm-5.3.3-26.el6.ppc64.rpm php-imap-5.3.3-26.el6.ppc64.rpm php-intl-5.3.3-26.el6.ppc64.rpm php-mbstring-5.3.3-26.el6.ppc64.rpm php-process-5.3.3-26.el6.ppc64.rpm php-pspell-5.3.3-26.el6.ppc64.rpm php-recode-5.3.3-26.el6.ppc64.rpm php-snmp-5.3.3-26.el6.ppc64.rpm php-tidy-5.3.3-26.el6.ppc64.rpm php-zts-5.3.3-26.el6.ppc64.rpm s390x: php-bcmath-5.3.3-26.el6.s390x.rpm php-dba-5.3.3-26.el6.s390x.rpm php-debuginfo-5.3.3-26.el6.s390x.rpm php-devel-5.3.3-26.el6.s390x.rpm php-embedded-5.3.3-26.el6.s390x.rpm php-enchant-5.3.3-26.el6.s390x.rpm php-fpm-5.3.3-26.el6.s390x.rpm php-imap-5.3.3-26.el6.s390x.rpm php-intl-5.3.3-26.el6.s390x.rpm php-mbstring-5.3.3-26.el6.s390x.rpm php-process-5.3.3-26.el6.s390x.rpm php-pspell-5.3.3-26.el6.s390x.rpm php-recode-5.3.3-26.el6.s390x.rpm php-snmp-5.3.3-26.el6.s390x.rpm php-tidy-5.3.3-26.el6.s390x.rpm php-zts-5.3.3-26.el6.s390x.rpm x86_64: php-bcmath-5.3.3-26.el6.x86_64.rpm php-dba-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-devel-5.3.3-26.el6.x86_64.rpm php-embedded-5.3.3-26.el6.x86_64.rpm php-enchant-5.3.3-26.el6.x86_64.rpm php-fpm-5.3.3-26.el6.x86_64.rpm php-imap-5.3.3-26.el6.x86_64.rpm php-intl-5.3.3-26.el6.x86_64.rpm php-mbstring-5.3.3-26.el6.x86_64.rpm php-process-5.3.3-26.el6.x86_64.rpm php-pspell-5.3.3-26.el6.x86_64.rpm php-recode-5.3.3-26.el6.x86_64.rpm php-snmp-5.3.3-26.el6.x86_64.rpm php-tidy-5.3.3-26.el6.x86_64.rpm php-zts-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux Workstation (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/php-5.3.3-26.el6.src.rpm i386: php-5.3.3-26.el6.i686.rpm php-cli-5.3.3-26.el6.i686.rpm php-common-5.3.3-26.el6.i686.rpm php-debuginfo-5.3.3-26.el6.i686.rpm php-gd-5.3.3-26.el6.i686.rpm php-ldap-5.3.3-26.el6.i686.rpm php-mysql-5.3.3-26.el6.i686.rpm php-odbc-5.3.3-26.el6.i686.rpm php-pdo-5.3.3-26.el6.i686.rpm php-pgsql-5.3.3-26.el6.i686.rpm php-soap-5.3.3-26.el6.i686.rpm php-xml-5.3.3-26.el6.i686.rpm php-xmlrpc-5.3.3-26.el6.i686.rpm x86_64: php-5.3.3-26.el6.x86_64.rpm php-cli-5.3.3-26.el6.x86_64.rpm php-common-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-gd-5.3.3-26.el6.x86_64.rpm php-ldap-5.3.3-26.el6.x86_64.rpm php-mysql-5.3.3-26.el6.x86_64.rpm php-odbc-5.3.3-26.el6.x86_64.rpm php-pdo-5.3.3-26.el6.x86_64.rpm php-pgsql-5.3.3-26.el6.x86_64.rpm php-soap-5.3.3-26.el6.x86_64.rpm php-xml-5.3.3-26.el6.x86_64.rpm php-xmlrpc-5.3.3-26.el6.x86_64.rpm Red Hat Enterprise Linux Workstation Optional (v. 6): Source: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/php-5.3.3-26.el6.src.rpm i386: php-bcmath-5.3.3-26.el6.i686.rpm php-dba-5.3.3-26.el6.i686.rpm php-debuginfo-5.3.3-26.el6.i686.rpm php-devel-5.3.3-26.el6.i686.rpm php-embedded-5.3.3-26.el6.i686.rpm php-enchant-5.3.3-26.el6.i686.rpm php-fpm-5.3.3-26.el6.i686.rpm php-imap-5.3.3-26.el6.i686.rpm php-intl-5.3.3-26.el6.i686.rpm php-mbstring-5.3.3-26.el6.i686.rpm php-process-5.3.3-26.el6.i686.rpm php-pspell-5.3.3-26.el6.i686.rpm php-recode-5.3.3-26.el6.i686.rpm php-snmp-5.3.3-26.el6.i686.rpm php-tidy-5.3.3-26.el6.i686.rpm php-zts-5.3.3-26.el6.i686.rpm x86_64: php-bcmath-5.3.3-26.el6.x86_64.rpm php-dba-5.3.3-26.el6.x86_64.rpm php-debuginfo-5.3.3-26.el6.x86_64.rpm php-devel-5.3.3-26.el6.x86_64.rpm php-embedded-5.3.3-26.el6.x86_64.rpm php-enchant-5.3.3-26.el6.x86_64.rpm php-fpm-5.3.3-26.el6.x86_64.rpm php-imap-5.3.3-26.el6.x86_64.rpm php-intl-5.3.3-26.el6.x86_64.rpm php-mbstring-5.3.3-26.el6.x86_64.rpm php-process-5.3.3-26.el6.x86_64.rpm php-pspell-5.3.3-26.el6.x86_64.rpm php-recode-5.3.3-26.el6.x86_64.rpm php-snmp-5.3.3-26.el6.x86_64.rpm php-tidy-5.3.3-26.el6.x86_64.rpm php-zts-5.3.3-26.el6.x86_64.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/#package 7. References: https://www.redhat.com/security/data/cve/CVE-2006-7243.html https://www.redhat.com/security/data/cve/CVE-2013-1643.html https://www.redhat.com/security/data/cve/CVE-2013-4248.html https://access.redhat.com/security/updates/classification/#moderate 8. Contact: The Red Hat security contact is . More contact details at https://access.redhat.com/security/team/contact/ Copyright 2013 Red Hat, Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFSjYxmXlSAg2UNWIIRAl1+AJ9vPpwdogOJpYaIcbwDpeXfGRHWVQCfYE1I OWnAZ97KkosNrB1oR+Ajats= =bEm2 -----END PGP SIGNATURE----- -- RHSA-announce mailing list RHSA-announce@redhat.com https://www.redhat.com/mailman/listinfo/rhsa-announce