Novell is now a part of Micro Focus

Security update for PHP4

Knowledgebase

(Last modified: 08JUL2005)


solutions Security update for PHP4 SuSE Linux Maintenance Web (b0cc027d40188c4f2c516845c31cc69f)

Applies to

Package: php4
apache-mod_php4
apache2-mod_php4
mod_php4-core
php4-imap
php4-mysql
php4-session
php4-fastcgi
php4-devel
php4-sysvshm
php4-exif
php4-pear
Product(s): SUSE CORE 9 for Itanium Processor Family
Patch: patch-10303
Release: 20050708
Obsoletes: ae77fd5dd5c7926fed4a1e163ec0f644
aafa6d723ed65ff9f0a06d23d12770ce
416640c73799c273cb78008c7d2b1c88
02f7ca620fa47aed580ac78750ea5c52
cb26dfd5c2e6259554ea496104a27638
eb6734193188e5e67d6f06e03c942de2
cc880d8594257d1c37f5c5e40549ab75

Indications

Everyone using PHP4 should update.

Contraindications

None.

Problem description

Note: After this update php4-recode can no longer be used at the same time as php4-mysql, php4-imap or apache2-mod_auth_mysql due to the RTLD_GLOBAL fixes. Please refer to /usr/share/doc/packages/php4/README.SuSE for details.
This update fixes the following security issues:
  • A bug that can be exploited by remote attackers to bypass HTML tag filtering (cross-site-scripting prevention) by supplying special tags. These kind of tags should be ignored because they are not valid but they get accepted by some commercial web-browsers.
  • A bug that can be exploited by remote attackers by triggering the memory_limit in unsafe states of a PHP execution path to execute arbitrary code.
  • Bugs caused by bad array parsing of the user input via GET, POST and COOKIE. One could lead to overwriting variable $_FILES, while the other could expose some pieces of the php memory to the attacker.
  • A bug that could disclose php sourcecode in some circumstances.
  • Various bugs in the unserializer (CAN-2004-1019).
  • A buffer overflow in the exif parser (CAN-2004-1065).
  • A bug in readline() that could lead to denial of service.
  • A bug in getimagesize() which could lead to denial of service (CAN-2005-0524, CAN-2005-0525)
  • Bugs in the exif parser could allow an attacker to execute arbitrary code (CAN-2005-1042) or cause denial of service (CAN-2005-1043)).
  • A bug in the PEAR::XML_RPC library allowed remote attackers to pass arbitrary php code to the eval() function (CAN-2005-1921).
This update also fixes the following non-security issues:
  • The dlopen() flag for opening php4 modules has been reverted back to RTLD_GLOBAL, as RTDL_LOCAL had some side effects when extensions like php4-unixODBC load their own libraries (unixODBC uses RTLD_GLOBAL).
  • Pre-Requires tags of some sub-packages have been tweaked to aid computing the uninstall order.
  • performance problems of unserialize() caused by previous security update.

Solution

Please install the updates provided at the location noted below.

Installation notes

This update is provided as an RPM package that can easily be installed onto a running system by using this command:
rpm -Fvh php4.rpm apache-mod_php4.rpm apache2-mod_php4.rpm mod_php4-core.rpm php4-imap.rpm php4-mysql.rpm php4-session.rpm php4-fastcgi.rpm php4-devel.rpm php4-sysvshm.rpm php4-exif.rpm php4-pear.rpm

links to download packages

Download Source Packages

Download the source code of the patches for maintained products.


Disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.

Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

© Micro Focus