summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/glsa/glsa-200603-22.xml')
-rw-r--r--metadata/glsa/glsa-200603-22.xml89
1 files changed, 89 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-200603-22.xml b/metadata/glsa/glsa-200603-22.xml
new file mode 100644
index 000000000000..f146d9e6986a
--- /dev/null
+++ b/metadata/glsa/glsa-200603-22.xml
@@ -0,0 +1,89 @@
+<?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>March 22, 2006</announced>
+ <revised>March 22, 2006: 01</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 &quot;&gt;=dev-lang/php-5.1.2&quot;</code>
+ <p>
+ All PHP 4.x users should upgrade to the latest version:
+ </p>
+ <code>
+ # emerge --sync
+ # emerge --ask --oneshot --verbose &quot;&gt;=dev-lang/php-4.4.2&quot;</code>
+ </resolution>
+ <references>
+ <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0207">CVE-2006-0207</uri>
+ <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0208">CVE-2006-0208</uri>
+ <uri link="http://www.hardened-php.net/advisory_022006.112.html">Hardened-PHP Advisory 01/2006</uri>
+ <uri link="http://www.hardened-php.net/advisory_012006.113.html">Hardened-PHP Advisory 02/2006</uri>
+ </references>
+ <metadata tag="requester" timestamp="Tue, 14 Mar 2006 21:28:04 +0000">
+ koon
+ </metadata>
+ <metadata tag="bugReady" timestamp="Tue, 14 Mar 2006 21:28:11 +0000">
+ koon
+ </metadata>
+ <metadata tag="submitter" timestamp="Sat, 18 Mar 2006 03:27:49 +0000">
+ adir
+ </metadata>
+</glsa>