Alerts This Week
Warning Icon 1 677
Alerts This Week
Warning Icon 1 677

Red Hat RHSA-2009-0350-01 Moderate: PHP Buffer Overflow and DoS Fixes

Redhat Large Esm H500
Updated php packages that fix several security issues are now available for Red Hat Application Stack v2. This update has been rated as having moderate security impact by the Red Hat Security Response Team.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

====================================================================                   Red Hat Security Advisory

Synopsis:          Moderate: php security update
Advisory ID:       RHSA-2009:0350-01
Product:           Red Hat Application Stack
Advisory URL:      https://access.redhat.com/errata/RHSA-2009:0350.html
Issue date:        2009-04-14
CVE Names:         CVE-2008-3658 CVE-2008-3660 CVE-2008-5498 
                   CVE-2008-5557 CVE-2008-5658 CVE-2008-5814 
                   CVE-2009-0754 CVE-2009-1271 
====================================================================
1. Summary:

Updated php packages that fix several security issues are now available for
Red Hat Application Stack v2.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Application Stack v2 for Enterprise Linux (v.5) - i386, x86_64

3. Description:

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

A heap-based buffer overflow flaw was found in PHP's mbstring extension. A
remote attacker able to pass arbitrary input to a PHP script using mbstring
conversion functions could cause the PHP interpreter to crash or, possibly,
execute arbitrary code. (CVE-2008-5557)

A flaw was found in the handling of the "mbstring.func_overload"
configuration setting. A value set for one virtual host, or in a user's
.htaccess file, was incorrectly applied to other virtual hosts on the same
server, causing the handling of multibyte character strings to not work
correctly. (CVE-2009-0754)

A directory traversal flaw was found in PHP's ZipArchive::extractTo
function. If PHP is used to extract a malicious ZIP archive, it could allow
an attacker to write arbitrary files anywhere the PHP process has write
permissions. (CVE-2008-5658)

A buffer overflow flaw was found in PHP's imageloadfont function. If a PHP
script allowed a remote attacker to load a carefully crafted font file, it
could cause the PHP interpreter to crash or, possibly, execute arbitrary
code. (CVE-2008-3658)

A flaw was found in the way PHP handled certain file extensions when
running in FastCGI mode. If the PHP interpreter was being executed via
FastCGI, a remote attacker could create a request which would cause the PHP
interpreter to crash. (CVE-2008-3660)

A memory disclosure flaw was found in the PHP gd extension's imagerotate
function. A remote attacker able to pass arbitrary values as the
"background color" argument of the function could, possibly, view portions
of the PHP interpreter's memory. (CVE-2008-5498)

A cross-site scripting flaw was found in a way PHP reported errors for
invalid cookies. If the PHP interpreter had "display_errors" enabled, a
remote attacker able to set a specially-crafted cookie on a victim's system
could possibly inject arbitrary HTML into an error message generated by
PHP. (CVE-2008-5814)

A flaw was found in PHP's json_decode function. A remote attacker could use
this flaw to create a specially-crafted string which could cause the PHP
interpreter to crash while being decoded in a PHP script. (CVE-2009-1271)

All php users are advised to upgrade to these updated packages, which
contain backported patches to resolve these issues. The httpd web server
must be restarted for the changes to take effect.

4. Solution:

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at

5. Bugs fixed (http://bugzilla.redhat.com/):

459529 - CVE-2008-3658 php: buffer overflow in the imageloadfont function in gd extension
459572 - CVE-2008-3660 php: FastCGI module DoS via multiple dots preceding the extension
474824 - CVE-2008-5658 php: ZipArchive::extractTo() Directory Traversal Vulnerability
478425 - CVE-2008-5498 php: libgd imagerotate() array index error memory disclosure
478848 - CVE-2008-5557 php: Heap-based buffer overflow in the mbstring extension via crafted string containing a HTML entity (arb code execution)
479272 - CVE-2009-0754 PHP mbstring.func_overload web server denial of service
480167 - CVE-2008-5814 php: XSS via PHP error messages
494530 - CVE-2009-1271 php: crash on malformed input in json_decode()

6. Package List:

Red Hat Application Stack v2 for Enterprise Linux (v.5):

Source:

i386:
php-5.2.6-4.el5s2.i386.rpm
php-bcmath-5.2.6-4.el5s2.i386.rpm
php-cli-5.2.6-4.el5s2.i386.rpm
php-common-5.2.6-4.el5s2.i386.rpm
php-dba-5.2.6-4.el5s2.i386.rpm
php-debuginfo-5.2.6-4.el5s2.i386.rpm
php-devel-5.2.6-4.el5s2.i386.rpm
php-gd-5.2.6-4.el5s2.i386.rpm
php-imap-5.2.6-4.el5s2.i386.rpm
php-ldap-5.2.6-4.el5s2.i386.rpm
php-mbstring-5.2.6-4.el5s2.i386.rpm
php-mysql-5.2.6-4.el5s2.i386.rpm
php-ncurses-5.2.6-4.el5s2.i386.rpm
php-odbc-5.2.6-4.el5s2.i386.rpm
php-pdo-5.2.6-4.el5s2.i386.rpm
php-pgsql-5.2.6-4.el5s2.i386.rpm
php-snmp-5.2.6-4.el5s2.i386.rpm
php-soap-5.2.6-4.el5s2.i386.rpm
php-xml-5.2.6-4.el5s2.i386.rpm
php-xmlrpc-5.2.6-4.el5s2.i386.rpm

x86_64:
php-5.2.6-4.el5s2.x86_64.rpm
php-bcmath-5.2.6-4.el5s2.x86_64.rpm
php-cli-5.2.6-4.el5s2.x86_64.rpm
php-common-5.2.6-4.el5s2.x86_64.rpm
php-dba-5.2.6-4.el5s2.x86_64.rpm
php-debuginfo-5.2.6-4.el5s2.x86_64.rpm
php-devel-5.2.6-4.el5s2.x86_64.rpm
php-gd-5.2.6-4.el5s2.x86_64.rpm
php-imap-5.2.6-4.el5s2.x86_64.rpm
php-ldap-5.2.6-4.el5s2.x86_64.rpm
php-mbstring-5.2.6-4.el5s2.x86_64.rpm
php-mysql-5.2.6-4.el5s2.x86_64.rpm
php-ncurses-5.2.6-4.el5s2.x86_64.rpm
php-odbc-5.2.6-4.el5s2.x86_64.rpm
php-pdo-5.2.6-4.el5s2.x86_64.rpm
php-pgsql-5.2.6-4.el5s2.x86_64.rpm
php-snmp-5.2.6-4.el5s2.x86_64.rpm
php-soap-5.2.6-4.el5s2.x86_64.rpm
php-xml-5.2.6-4.el5s2.x86_64.rpm
php-xmlrpc-5.2.6-4.el5s2.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.cve.org/CVERecord?id=CVE-2008-3658
https://www.cve.org/CVERecord?id=CVE-2008-3660
https://www.cve.org/CVERecord?id=CVE-2008-5498
https://www.cve.org/CVERecord?id=CVE-2008-5557
https://www.cve.org/CVERecord?id=CVE-2008-5658
https://www.cve.org/CVERecord?id=CVE-2008-5814
https://www.cve.org/CVERecord?id=CVE-2009-0754
https://www.cve.org/CVERecord?id=CVE-2009-1271
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 2009 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFJ5NAgXlSAg2UNWIIRAtJhAKCCKdjXCXkz0PeZUk5q0S3rsSf53gCfc/vm
fj9YjQ5kUoICJShHZQfaHY8=eevn
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
This email address is being protected from spambots. You need JavaScript enabled to view it.

Red Hat RHSA-2009-0350-01 Moderate: PHP Buffer Overflow and DoS Fixes

red hat
Calendar Grey April 14, 2009
Dist Redhat Esm H88
Recent PHP patch addresses vulnerabilities including integer overflow, file inclusion, and denial-of-service attacks for CentOS platforms.
Updated php packages that fix several security issues are now available for Red Hat Application Stack v2

Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied.

This update is available via 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 Web server.
A heap-based buffer overflow flaw was found in PHP's mbstring extension. A remote attacker able to pass arbitrary input to a PHP script using mbstring conversion functions could cause the PHP interpreter to crash or, possibly, execute arbitrary code. (CVE-2008-5557)
A flaw was found in the handling of the "mbstring.func_overload" configuration setting. A value set for one virtual host, or in a user's .htaccess file, was incorrectly applied to other virtual hosts on the same server, causing the handling of multibyte character strings to not work correctly. (CVE-2009-0754)
A directory traversal flaw was found in PHP's ZipArchive::extractTo function. If PHP is used to extract a malicious ZIP archive, it could allow an attacker to write arbitrary files anywhere the PHP process has write permissions. (CVE-2008-5658)
A buffer overflow flaw was found in PHP's imageloadfont function. If a PHP script allowed a remote attacker to load a carefully crafted font file, it could cause the PHP interpreter to crash or, possibly, execute arbitrary code. (CVE-2008-3658)
A flaw was found in the way PHP handled certain file extensions when running in FastCGI mode. If the PHP interpreter was being executed via FastCGI, a remote attacker could create a request which would cause the PHP interpreter to crash. (CVE-2008-3660)
A memory disclosure flaw was found in the PHP gd extension's imagerotate function. A remote attacker able to pass arbitrary values as the "background color" argument of the function could, possibly, view portions of the PHP interpreter's memory. (CVE-2008-5498)
A cross-site scripting flaw was found in a way PHP reported errors for invalid cookies. If the PHP interpreter had "display_errors" enabled, a remote attacker able to set a specially-crafted cookie on a victim's system could possibly inject arbitrary HTML into an error message generated by PHP. (CVE-2008-5814)
A flaw was found in PHP's json_decode function. A remote attacker could use this flaw to create a specially-crafted string which could cause the PHP interpreter to crash while being decoded in a PHP script. (CVE-2009-1271)
All php users are advised to upgrade to these updated packages, which contain backported patches to resolve these issues. The httpd web server must be restarted for the changes to take effect.

References

https://www.cve.org/CVERecord?id=CVE-2008-3658 https://www.cve.org/CVERecord?id=CVE-2008-3660 https://www.cve.org/CVERecord?id=CVE-2008-5498 https://www.cve.org/CVERecord?id=CVE-2008-5557 https://www.cve.org/CVERecord?id=CVE-2008-5658 https://www.cve.org/CVERecord?id=CVE-2008-5814 https://www.cve.org/CVERecord?id=CVE-2009-0754 https://www.cve.org/CVERecord?id=CVE-2009-1271 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Application Stack v2 for Enterprise Linux (v.5):
Source:
i386: php-5.2.6-4.el5s2.i386.rpm php-bcmath-5.2.6-4.el5s2.i386.rpm php-cli-5.2.6-4.el5s2.i386.rpm php-common-5.2.6-4.el5s2.i386.rpm php-dba-5.2.6-4.el5s2.i386.rpm php-debuginfo-5.2.6-4.el5s2.i386.rpm php-devel-5.2.6-4.el5s2.i386.rpm php-gd-5.2.6-4.el5s2.i386.rpm php-imap-5.2.6-4.el5s2.i386.rpm php-ldap-5.2.6-4.el5s2.i386.rpm php-mbstring-5.2.6-4.el5s2.i386.rpm php-mysql-5.2.6-4.el5s2.i386.rpm php-ncurses-5.2.6-4.el5s2.i386.rpm php-odbc-5.2.6-4.el5s2.i386.rpm php-pdo-5.2.6-4.el5s2.i386.rpm php-pgsql-5.2.6-4.el5s2.i386.rpm php-snmp-5.2.6-4.el5s2.i386.rpm php-soap-5.2.6-4.el5s2.i386.rpm php-xml-5.2.6-4.el5s2.i386.rpm php-xmlrpc-5.2.6-4.el5s2.i386.rpm
x86_64: php-5.2.6-4.el5s2.x86_64.rpm php-bcmath-5.2.6-4.el5s2.x86_64.rpm php-cli-5.2.6-4.el5s2.x86_64.rpm php-common-5.2.6-4.el5s2.x86_64.rpm php-dba-5.2.6-4.el5s2.x86_64.rpm php-debuginfo-5.2.6-4.el5s2.x86_64.rpm php-devel-5.2.6-4.el5s2.x86_64.rpm php-gd-5.2.6-4.el5s2.x86_64.rpm php-imap-5.2.6-4.el5s2.x86_64.rpm php-ldap-5.2.6-4.el5s2.x86_64.rpm php-mbstring-5.2.6-4.el5s2.x86_64.rpm php-mysql-5.2.6-4.el5s2.x86_64.rpm php-ncurses-5.2.6-4.el5s2.x86_64.rpm php-odbc-5.2.6-4.el5s2.x86_64.rpm php-pdo-5.2.6-4.el5s2.x86_64.rpm php-pgsql-5.2.6-4.el5s2.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2009:0350-01
Product: Red Hat Application Stack
Issue date: 2009-04-14

Topic

Updated php packages that fix several security issues are now available forRed Hat Application Stack v2.This update has been rated as having moderate security impact by the RedHat Security Response Team.

Relevant Releases Architectures

Red Hat Application Stack v2 for Enterprise Linux (v.5) - i386, x86_64

Bugs Fixed

459529 - CVE-2008-3658 php: buffer overflow in the imageloadfont function in gd extension

459572 - CVE-2008-3660 php: FastCGI module DoS via multiple dots preceding the extension

474824 - CVE-2008-5658 php: ZipArchive::extractTo() Directory Traversal Vulnerability

478425 - CVE-2008-5498 php: libgd imagerotate() array index error memory disclosure

478848 - CVE-2008-5557 php: Heap-based buffer overflow in the mbstring extension via crafted string containing a HTML entity (arb code execution)

479272 - CVE-2009-0754 PHP mbstring.func_overload web server denial of service

480167 - CVE-2008-5814 php: XSS via PHP error messages

494530 - CVE-2009-1271 php: crash on malformed input in json_decode()

Get the latest News and Insights

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

Your message here