Novell is now a part of Micro Focus

Security update for PHP4

Knowledgebase

(Last modified: 11APR2005)


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

Applies to

Package: mod_php4
mod_php4-core
mod_php4-servlet
mod_php4-devel
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
Patch: patch-10000
Release: 20050411
Obsoletes: 05bfd193c8e6d2c1b9f98a77a8df73d8
08271feb8c2c0fa45b0c323829ad32ec
d3e37376de7633350c988390d2ed9528
d6325fe0853bd6af9be769dd3ffc68fc

Indications

Everyone using PHP4 should update.

Contraindications

None.

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)
  • A bug in getimagesize() which could lead to denial of service (CAN-2005-0524, CAN-2005-0525)
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().
  • 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 mod_php4.rpm mod_php4-core.rpm mod_php4-servlet.rpm mod_php4-devel.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.

© Copyright Micro Focus or one of its affiliates