Date: Mon, 08 May 2006 19:23:47 +0200
From: Thierry Carrez <koon@gentoo.org.>
To: [email protected]Subject: [ GLSA 200605-08 ] PHP: Multiple vulnerabilities
X-Enigmail-Version: 0.94.0.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig9CA54203D69A922320DD9EB2"
X-Virus-Scanned: amavisd-new at gentoo.org
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9CA54203D69A922320DD9EB2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200605-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: PHP: Multiple vulnerabilities
Date: May 08, 2006
Bugs: #127939, #128883, #131135
ID: 200605-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
PHP is affected by multiple issues, including a buffer overflow in
wordwrap() which may lead to execution of arbitrary code.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
PHP is a widely-used general-purpose scripting language that is
especially suited for Web development and can be embedded into HTML.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/php < 5.1.4 >=3D 5.1.4
*>=3D 4.4.2-r2
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo,
Tonu Samuel and Maksymilian Arciemowicz. These included a buffer
overflow in the wordwrap() function, restriction bypasses in the copy()
and tempname() functions, a cross-site scripting issue in the phpinfo()
function, a potential crash in the substr_compare() function and a
memory leak in the non-binary-safe html_entity_decode() function.
Impact
=3D=3D=3D=3D=3D=3D
Remote attackers might be able to exploit these issues in PHP
applications making use of the affected functions, potentially
resulting in the execution of arbitrary code, Denial of Service,
execution of scripted contents in the context of the affected site,
security bypass or information leak.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this point.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All PHP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Ddev-lang/php-5.1.4"
PHP4 users that wish to keep that version line should upgrade to the
latest 4.x version:
# emerge --sync
# emerge --ask --oneshot --verbose =3Ddev-lang/php-4.4.2-r2
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2006-0996
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-0996
[ 2 ] CVE-2006-1490
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-1490
[ 3 ] CVE-2006-1990
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-1990
[ 4 ] CVE-2006-1991
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-1991
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200605-08.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------enig9CA54203D69A922320DD9EB2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEX36jvcL1obalX08RAgR9AJ0aCsuwZ7GEKNPVKWXA6NOobC0jUgCeOzkD
2575LE8ATSy0sxB4FE3vIDQ=
=7ZN0
-----END PGP SIGNATURE-----
--------------enig9CA54203D69A922320DD9EB2--