88 lines
3.1 KiB
XML
88 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
|
<glsa id="200603-22">
|
|
<title>PHP: Format string and XSS vulnerabilities</title>
|
|
<synopsis>
|
|
Multiple vulnerabilities in PHP allow remote attackers to inject arbitrary
|
|
HTTP headers, perform cross site scripting or in some cases execute
|
|
arbitrary code.
|
|
</synopsis>
|
|
<product type="ebuild">php</product>
|
|
<announced>2006-03-22</announced>
|
|
<revised count="01">2006-03-22</revised>
|
|
<bug>125878</bug>
|
|
<access>remote</access>
|
|
<affected>
|
|
<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>
|
|
</package>
|
|
</affected>
|
|
<background>
|
|
<p>
|
|
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.
|
|
</p>
|
|
</background>
|
|
<description>
|
|
<p>
|
|
Stefan Esser of the Hardened PHP project has reported a few
|
|
vulnerabilities found in PHP:
|
|
</p>
|
|
<ul>
|
|
<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
|
|
above.</li>
|
|
</ul>
|
|
</description>
|
|
<impact type="normal">
|
|
<p>
|
|
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.
|
|
</p>
|
|
</impact>
|
|
<workaround>
|
|
<p>
|
|
There is no known workaround at this time.
|
|
</p>
|
|
</workaround>
|
|
<resolution>
|
|
<p>
|
|
All PHP 5.x users should upgrade to the latest version:
|
|
</p>
|
|
<code>
|
|
# emerge --sync
|
|
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.2"</code>
|
|
<p>
|
|
All PHP 4.x users should upgrade to the latest version:
|
|
</p>
|
|
<code>
|
|
# emerge --sync
|
|
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.2"</code>
|
|
</resolution>
|
|
<references>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0207">CVE-2006-0207</uri>
|
|
<uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0208">CVE-2006-0208</uri>
|
|
<uri link="https://www.hardened-php.net/advisory_022006.112.html">Hardened-PHP Advisory 01/2006</uri>
|
|
<uri link="https://www.hardened-php.net/advisory_012006.113.html">Hardened-PHP Advisory 02/2006</uri>
|
|
</references>
|
|
<metadata tag="requester" timestamp="2006-03-14T21:28:04Z">
|
|
koon
|
|
</metadata>
|
|
<metadata tag="bugReady" timestamp="2006-03-14T21:28:11Z">
|
|
koon
|
|
</metadata>
|
|
<metadata tag="submitter" timestamp="2006-03-18T03:27:49Z">
|
|
adir
|
|
</metadata>
|
|
</glsa>
|