Novell is now a part of Micro Focus

Security update for PHP4


(Last modified: 13JAN2005)

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

Applies to

Package: mod_php4
Product(s): SUSE LINUX Retail Solution 8
SuSE Linux School Server for i386
SuSE Linux Standard Server 8
SuSE Linux Enterprise Server 8 for x86
SuSE Linux Enterprise Server 8 for IPF
SuSE Linux Enterprise Server 8 for IBM iSeries and IBM pSeries
SuSE Linux Enterprise Server 8 for IBM S/390 and IBM zSeries
SuSE Linux Enterprise Server 8 for IBM zSeries
SuSE Linux Enterprise Server 8 for AMD64
SuSE Linux Openexchange Server 4

Release: 20050113
Obsoletes: 05bfd193c8e6d2c1b9f98a77a8df73d8


Everyone using PHP4 should update



Problem description

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)
This update also fixes the following non-security issues:
  • Wrong type usage caused two errors within PHP4's session handling:
    • Session variables where not read from /tmp/sess_* files, thus rendering session management useless in most cases.
    • The functions print() and echo() did not produce any output whenever a session was started with session_start().


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 mod_php4.rpm mod_php4-core.rpm mod_php4-servlet.rpm

links to download packages

Download Source Packages

Download the source code of the patches for maintained products.


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.

© Copyright Micro Focus or one of its affiliates