Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 501
Alerts This Week
Warning Icon 1 501

Red Hat Enterprise Linux 4 and 5 Security Advisory for PHP Issues

red hat
Calendar Grey November 29, 2010
Dist Redhat Esm H88
Significant patches released for php on Red Hat Enterprise Linux versions 4 and 5 to address various vulnerabilities.
Updated php packages that fix multiple security issues are now available for Red Hat Enterprise Linux 4 and 5

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

Summary

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.

References

https://access.redhat.com/security/cve/CVE-2009-5016 https://access.redhat.com/security/cve/CVE-2010-0397 https://access.redhat.com/security/cve/CVE-2010-1128 https://access.redhat.com/security/cve/CVE-2010-1917 https://access.redhat.com/security/cve/CVE-2010-2531 https://access.redhat.com/security/cve/CVE-2010-3065 https://access.redhat.com/security/cve/CVE-2010-3870 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux AS version 4:
Source:
i386: php-4.3.9-3.31.i386.rpm php-debuginfo-4.3.9-3.31.i386.rpm php-devel-4.3.9-3.31.i386.rpm php-domxml-4.3.9-3.31.i386.rpm php-gd-4.3.9-3.31.i386.rpm php-imap-4.3.9-3.31.i386.rpm php-ldap-4.3.9-3.31.i386.rpm php-mbstring-4.3.9-3.31.i386.rpm php-mysql-4.3.9-3.31.i386.rpm php-ncurses-4.3.9-3.31.i386.rpm php-odbc-4.3.9-3.31.i386.rpm php-pear-4.3.9-3.31.i386.rpm php-pgsql-4.3.9-3.31.i386.rpm php-snmp-4.3.9-3.31.i386.rpm php-xmlrpc-4.3.9-3.31.i386.rpm
ia64: php-4.3.9-3.31.ia64.rpm php-debuginfo-4.3.9-3.31.ia64.rpm php-devel-4.3.9-3.31.ia64.rpm php-domxml-4.3.9-3.31.ia64.rpm php-gd-4.3.9-3.31.ia64.rpm php-imap-4.3.9-3.31.ia64.rpm php-ldap-4.3.9-3.31.ia64.rpm php-mbstring-4.3.9-3.31.ia64.rpm php-mysql-4.3.9-3.31.ia64.rpm php-ncurses-4.3.9-3.31.ia64.rpm php-odbc-4.3.9-3.31.ia64.rpm php-pear-4.3.9-3.31.ia64.rpm php-pgsql-4.3.9-3.31.ia64.rpm php-snmp-4.3.9-3.31.ia64.rpm php-xmlrpc-4.3.9-3.31.ia64.rpm
ppc: php-4.3.9-3.31.ppc.rpm php-debuginfo-4.3.9-3.31.ppc.rpm php-devel-4.3.9-3.31.ppc.rpm php-domxml-4.3.9-3.31.ppc.rpm php-gd-4.3.9-3.31.ppc.rpm php-imap-4.3.9-3.31.ppc.rpm php-ldap-4.3.9-3.31.ppc.rpm php-mbstring-4.3.9-3.31.ppc.rpm php-mysql-4.3.9-3.31.ppc.rpm php-ncurses-4.3.9-3.31.ppc.rpm php-odbc-4.3.9-3.31.ppc.rpm

Read the Full Advisory


Advisory ID: RHSA-2010:0919-01
Product: Red Hat Enterprise Linux
Issue date: 2010-11-29

Topic

Updated php packages that fix multiple security issues are now availablefor Red Hat Enterprise Linux 4 and 5.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 AS version 4 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Enterprise Linux Desktop version 4 - i386, x86_64

Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

Bugs Fixed

573779 - CVE-2010-0397 php: NULL pointer dereference in XML-RPC extension

577582 - CVE-2010-1128 php: LCG entropy weakness

617232 - CVE-2010-1917 php: fnmatch long pattern stack memory exhaustion (MOPS-2010-021)

617673 - CVE-2010-2531 php: information leak vulnerability in var_export()

619030 - CVE-2010-3065 php: session serializer session data injection vulnerability (MOPS-2010-060)

649056 - CVE-2010-3870 php: XSS mitigation bypass via utf8_decode()

652836 - CVE-2009-5016 php: XSS and SQL injection bypass via crafted overlong UTF-8 encoded string

Get the latest News and Insights

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