Issued:
2009-04-06
Updated:
2009-04-06

RHSA-2009:0337 - Moderate: php security update


Synopsis

Moderate: php security update

Type/Severity

Security Advisory Moderate

Topic

Updated php packages that fix several security issues are now available for Red Hat Enterprise Linux 3 and 4.

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

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 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)

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.

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 This content is not included.http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.7ia64
Red Hat Enterprise Linux for x86_64 - Extended Update Support4.7i386
Red Hat Enterprise Linux for Power, big endian4ppc
Red Hat Enterprise Linux for Power, big endian3ppc
Red Hat Enterprise Linux for Power, big endian - Extended Update Support4.7ppc
Red Hat Enterprise Linux for IBM z Systems4s390x
Red Hat Enterprise Linux for IBM z Systems4s390
Red Hat Enterprise Linux for IBM z Systems3s390x
Red Hat Enterprise Linux for IBM z Systems3s390
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support4.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support4.7s390
Red Hat Enterprise Linux Workstation4x86_64
Red Hat Enterprise Linux Workstation4ia64
Red Hat Enterprise Linux Workstation4i386
Red Hat Enterprise Linux Workstation3x86_64
Red Hat Enterprise Linux Workstation3ia64
Red Hat Enterprise Linux Workstation3i386
Red Hat Enterprise Linux Server4x86_64
Red Hat Enterprise Linux Server4ia64
Red Hat Enterprise Linux Server4i386
Red Hat Enterprise Linux Server3x86_64
Red Hat Enterprise Linux Server3ia64
Red Hat Enterprise Linux Server3i386
Red Hat Enterprise Linux Desktop4x86_64
Red Hat Enterprise Linux Desktop4i386
Red Hat Enterprise Linux Desktop3x86_64
Red Hat Enterprise Linux Desktop3i386

Updated Packages

  • php-domxml-4.3.9-3.22.15.s390.rpm
  • php-domxml-4.3.9-3.22.15.ppc.rpm
  • php-odbc-4.3.9-3.22.15.i386.rpm
  • php-xmlrpc-4.3.9-3.22.15.ia64.rpm
  • php-4.3.9-3.22.15.s390.rpm
  • php-imap-4.3.9-3.22.15.s390x.rpm
  • php-mysql-4.3.9-3.22.15.s390.rpm
  • php-odbc-4.3.9-3.22.15.x86_64.rpm
  • php-gd-4.3.9-3.22.15.i386.rpm
  • php-snmp-4.3.9-3.22.15.ia64.rpm
  • php-ncurses-4.3.9-3.22.15.s390.rpm
  • php-xmlrpc-4.3.9-3.22.15.s390.rpm
  • php-xmlrpc-4.3.9-3.22.15.s390x.rpm
  • php-gd-4.3.9-3.22.15.x86_64.rpm
  • php-4.3.9-3.22.15.ppc.rpm
  • php-imap-4.3.9-3.22.15.s390.rpm
  • php-odbc-4.3.9-3.22.15.ia64.rpm
  • php-4.3.9-3.22.15.s390x.rpm
  • php-devel-4.3.9-3.22.15.ppc.rpm
  • php-ncurses-4.3.9-3.22.15.ppc.rpm
  • php-ldap-4.3.9-3.22.15.s390x.rpm
  • php-pgsql-4.3.9-3.22.15.ppc.rpm
  • php-devel-4.3.9-3.22.15.x86_64.rpm
  • php-odbc-4.3.9-3.22.15.s390.rpm
  • php-4.3.9-3.22.15.src.rpm
  • php-devel-4.3.9-3.22.15.s390x.rpm
  • php-pear-4.3.9-3.22.15.s390.rpm
  • php-mbstring-4.3.9-3.22.15.i386.rpm
  • php-mysql-4.3.9-3.22.15.ppc.rpm
  • php-ncurses-4.3.9-3.22.15.i386.rpm
  • php-devel-4.3.9-3.22.15.s390.rpm
  • php-gd-4.3.9-3.22.15.s390x.rpm
  • php-ldap-4.3.9-3.22.15.ppc.rpm
  • php-domxml-4.3.9-3.22.15.i386.rpm
  • php-pgsql-4.3.9-3.22.15.ia64.rpm
  • php-odbc-4.3.9-3.22.15.ppc.rpm
  • php-pear-4.3.9-3.22.15.s390x.rpm
  • php-ncurses-4.3.9-3.22.15.s390x.rpm
  • php-imap-4.3.9-3.22.15.x86_64.rpm
  • php-xmlrpc-4.3.9-3.22.15.i386.rpm
  • php-snmp-4.3.9-3.22.15.s390.rpm
  • php-domxml-4.3.9-3.22.15.ia64.rpm
  • php-ncurses-4.3.9-3.22.15.ia64.rpm
  • php-mysql-4.3.9-3.22.15.x86_64.rpm
  • php-mbstring-4.3.9-3.22.15.s390x.rpm
  • php-imap-4.3.9-3.22.15.i386.rpm
  • php-4.3.9-3.22.15.i386.rpm
  • php-pear-4.3.9-3.22.15.ia64.rpm
  • php-4.3.9-3.22.15.x86_64.rpm
  • php-snmp-4.3.9-3.22.15.x86_64.rpm
  • php-pgsql-4.3.9-3.22.15.s390x.rpm
  • php-gd-4.3.9-3.22.15.ia64.rpm
  • php-xmlrpc-4.3.9-3.22.15.x86_64.rpm
  • php-devel-4.3.9-3.22.15.ia64.rpm
  • php-domxml-4.3.9-3.22.15.x86_64.rpm
  • php-pear-4.3.9-3.22.15.x86_64.rpm
  • php-mbstring-4.3.9-3.22.15.s390.rpm
  • php-snmp-4.3.9-3.22.15.s390x.rpm
  • php-ldap-4.3.9-3.22.15.ia64.rpm
  • php-4.3.9-3.22.15.ia64.rpm
  • php-mbstring-4.3.9-3.22.15.ppc.rpm
  • php-xmlrpc-4.3.9-3.22.15.ppc.rpm
  • php-mbstring-4.3.9-3.22.15.x86_64.rpm
  • php-snmp-4.3.9-3.22.15.ppc.rpm
  • php-pear-4.3.9-3.22.15.ppc.rpm
  • php-mysql-4.3.9-3.22.15.i386.rpm
  • php-ldap-4.3.9-3.22.15.s390.rpm
  • php-ldap-4.3.9-3.22.15.x86_64.rpm
  • php-pgsql-4.3.9-3.22.15.i386.rpm
  • php-domxml-4.3.9-3.22.15.s390x.rpm
  • php-mysql-4.3.9-3.22.15.ia64.rpm
  • php-ldap-4.3.9-3.22.15.i386.rpm
  • php-pear-4.3.9-3.22.15.i386.rpm
  • php-gd-4.3.9-3.22.15.s390.rpm
  • php-gd-4.3.9-3.22.15.ppc.rpm
  • php-imap-4.3.9-3.22.15.ia64.rpm
  • php-pgsql-4.3.9-3.22.15.x86_64.rpm
  • php-ncurses-4.3.9-3.22.15.x86_64.rpm
  • php-pgsql-4.3.9-3.22.15.s390.rpm
  • php-devel-4.3.9-3.22.15.i386.rpm
  • php-snmp-4.3.9-3.22.15.i386.rpm
  • php-odbc-4.3.9-3.22.15.s390x.rpm
  • php-mysql-4.3.9-3.22.15.s390x.rpm
  • php-imap-4.3.9-3.22.15.ppc.rpm
  • php-mbstring-4.3.9-3.22.15.ia64.rpm

Fixes

CVEs

References


Additional information