blob: 09ed534409eee77b2443e7a69685a76b7756fb2c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200507-15">
<title>PHP: Script injection through XML-RPC</title>
<synopsis>
PHP includes an XML-RPC implementation which allows remote attackers to
execute arbitrary PHP script commands.
</synopsis>
<product type="ebuild">PHP</product>
<announced>July 15, 2005</announced>
<revised>July 15, 2005: 01</revised>
<bug>97655</bug>
<access>remote</access>
<affected>
<package name="dev-php/php" auto="yes" arch="*">
<unaffected range="ge">4.4.0</unaffected>
<vulnerable range="lt">4.4.0</vulnerable>
</package>
</affected>
<background>
<p>
PHP is a general-purpose scripting language widely used to develop
web-based applications. It can run inside a web server using the
mod_php module or the CGI version of PHP, or can run stand-alone in a
CLI.
</p>
</background>
<description>
<p>
James Bercegay has discovered that the XML-RPC implementation in
PHP fails to sanitize input passed in an XML document, which is used in
an "eval()" statement.
</p>
</description>
<impact type="high">
<p>
A remote attacker could exploit the XML-RPC vulnerability to
execute arbitrary PHP script code by sending specially crafted XML data
to applications making use of this XML-RPC implementation.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All PHP users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=dev-php/php-4.4.0&quot;</code>
</resolution>
<references>
<uri link="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1921">CAN-2005-1921</uri>
</references>
<metadata tag="requester" timestamp="Tue, 12 Jul 2005 20:30:47 +0000">
koon
</metadata>
<metadata tag="submitter" timestamp="Tue, 12 Jul 2005 22:51:12 +0000">
formula7
</metadata>
<metadata tag="bugReady" timestamp="Fri, 15 Jul 2005 13:35:35 +0000">
koon
</metadata>
</glsa>