blob: f146d9e6986ac47256de11c071fbed6b8c81ffd5 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200603-22">
<title>PHP: Format string and XSS vulnerabilities</title>
Multiple vulnerabilities in PHP allow remote attackers to inject arbitrary
HTTP headers, perform cross site scripting or in some cases execute
arbitrary code.
<product type="ebuild">php</product>
<announced>March 22, 2006</announced>
<revised>March 22, 2006: 01</revised>
<package name="dev-lang/php" auto="yes" arch="*">
<unaffected range="ge">5.1.2</unaffected>
<vulnerable range="lt">4.4.2</vulnerable>
<vulnerable range="rge">5.1.1</vulnerable>
<vulnerable range="rge">5.0.5</vulnerable>
<vulnerable range="rge">5.0.4</vulnerable>
PHP is a general-purpose scripting language widely used to develop
web-based applications. It can run on a web server with the mod_php
module or the CGI version and also stand-alone in a CLI.
Stefan Esser of the Hardened PHP project has reported a few
vulnerabilities found in PHP:
<li>Input passed to the session
ID in the session extension isn't properly sanitised before being
returned to the user via a "Set-Cookie" HTTP header, which can contain
arbitrary injected data.</li>
<li>A format string error while
processing error messages using the mysqli extension in version 5.1 and
<impact type="normal">
By sending a specially crafted request, a remote attacker can
exploit this vulnerability to inject arbitrary HTTP headers, which will
be included in the response sent to the user. The format string
vulnerability may be exploited to execute arbitrary code.
There is no known workaround at this time.
All PHP 5.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/php-5.1.2&quot;</code>
All PHP 4.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/php-4.4.2&quot;</code>
<uri link="">CVE-2006-0207</uri>
<uri link="">CVE-2006-0208</uri>
<uri link="">Hardened-PHP Advisory 01/2006</uri>
<uri link="">Hardened-PHP Advisory 02/2006</uri>
<metadata tag="requester" timestamp="Tue, 14 Mar 2006 21:28:04 +0000">
<metadata tag="bugReady" timestamp="Tue, 14 Mar 2006 21:28:11 +0000">
<metadata tag="submitter" timestamp="Sat, 18 Mar 2006 03:27:49 +0000">