Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 461
Alerts This Week
Warning Icon 1 461

Red Hat: 2012:0019-01 Moderate: PHP53 DoS and Memory Disclosure

red hat
Calendar Grey January 11, 2012
Scroller Redhat
A significant security enhancement for php53 resolves a pair of vulnerabilities in Red Hat Enterprise Linux. Key upgrade information provided.
Updated php53 and php packages that fix two security issues are now available for Red Hat Enterprise Linux 5 and 6 respectively

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/kb/docs/DOC-11259

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
It was found that the hashing routine used by PHP arrays was susceptible to predictable hash collisions. If an HTTP POST request to a PHP application contained many parameters whose names map to the same hash value, a large amount of CPU time would be consumed. This flaw has been mitigated by adding a new configuration directive, max_input_vars, that limits the maximum number of parameters processed per request. By default, max_input_vars is set to 1000. (CVE-2011-4885)
An integer overflow flaw was found in the PHP exif extension. On 32-bit systems, a specially-crafted image file could cause the PHP interpreter to crash or disclose portions of its memory when a PHP script tries to extract Exchangeable image file format (Exif) metadata from the image file. (CVE-2011-4566)
Red Hat would like to thank oCERT for reporting CVE-2011-4885. oCERT acknowledges Julian Wälde and Alexander Klink as the original reporters of CVE-2011-4885.
All php53 and 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.

References

https://access.redhat.com/security/cve/CVE-2011-4566 https://access.redhat.com/security/cve/CVE-2011-4885 https://access.redhat.com/security/updates/classification#moderate

Package List

RHEL Desktop Workstation (v. 5 client):
Source:
i386: php53-5.3.3-1.el5_7.5.i386.rpm php53-bcmath-5.3.3-1.el5_7.5.i386.rpm php53-cli-5.3.3-1.el5_7.5.i386.rpm php53-common-5.3.3-1.el5_7.5.i386.rpm php53-dba-5.3.3-1.el5_7.5.i386.rpm php53-debuginfo-5.3.3-1.el5_7.5.i386.rpm php53-devel-5.3.3-1.el5_7.5.i386.rpm php53-gd-5.3.3-1.el5_7.5.i386.rpm php53-imap-5.3.3-1.el5_7.5.i386.rpm php53-intl-5.3.3-1.el5_7.5.i386.rpm php53-ldap-5.3.3-1.el5_7.5.i386.rpm php53-mbstring-5.3.3-1.el5_7.5.i386.rpm php53-mysql-5.3.3-1.el5_7.5.i386.rpm php53-odbc-5.3.3-1.el5_7.5.i386.rpm php53-pdo-5.3.3-1.el5_7.5.i386.rpm php53-pgsql-5.3.3-1.el5_7.5.i386.rpm php53-process-5.3.3-1.el5_7.5.i386.rpm php53-pspell-5.3.3-1.el5_7.5.i386.rpm php53-snmp-5.3.3-1.el5_7.5.i386.rpm php53-soap-5.3.3-1.el5_7.5.i386.rpm php53-xml-5.3.3-1.el5_7.5.i386.rpm php53-xmlrpc-5.3.3-1.el5_7.5.i386.rpm
x86_64: php53-5.3.3-1.el5_7.5.x86_64.rpm php53-bcmath-5.3.3-1.el5_7.5.x86_64.rpm php53-cli-5.3.3-1.el5_7.5.x86_64.rpm php53-common-5.3.3-1.el5_7.5.x86_64.rpm php53-dba-5.3.3-1.el5_7.5.x86_64.rpm php53-debuginfo-5.3.3-1.el5_7.5.x86_64.rpm php53-devel-5.3.3-1.el5_7.5.x86_64.rpm php53-gd-5.3.3-1.el5_7.5.x86_64.rpm php53-imap-5.3.3-1.el5_7.5.x86_64.rpm php53-intl-5.3.3-1.el5_7.5.x86_64.rpm php53-ldap-5.3.3-1.el5_7.5.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2012:0019-01
Product: Red Hat Enterprise Linux
Issue date: 2012-01-11

Topic

Updated php53 and php packages that fix two security issues are nowavailable for Red Hat Enterprise Linux 5 and 6 respectively.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.

Relevant Releases Architectures

RHEL Desktop Workstation (v. 5 client) - i386, x86_64

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64

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

Bugs Fixed

750547 - CVE-2011-4885 php: hash table collisions CPU usage DoS (oCERT-2011-003)

758413 - CVE-2011-4566 php: integer overflow in exif_process_IFD_TAG() may lead to DoS or arbitrary memory disclosure

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.