blob: 31baecc3927f8bc6c9d7844b93803c2d92b932fa [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200705-16">
<title>PhpWiki: Remote execution of arbitrary code</title>
<synopsis>
A vulnerability has been discovered in PhpWiki allowing for the remote
execution of arbitrary code.
</synopsis>
<product type="ebuild">phpwiki</product>
<announced>May 17, 2007</announced>
<revised>May 17, 2007: 01</revised>
<bug>174451</bug>
<access>remote</access>
<affected>
<package name="www-apps/phpwiki" auto="yes" arch="*">
<unaffected range="ge">1.3.10-r3</unaffected>
<vulnerable range="lt">1.3.10-r3</vulnerable>
</package>
</affected>
<background>
<p>
PhpWiki is an open source content management system written in PHP.
</p>
</background>
<description>
<p>
Harold Hallikainen has reported that the Upload page fails to properly
check the extension of a file.
</p>
</description>
<impact type="high">
<p>
A remote attacker could upload a specially crafted PHP file to the
vulnerable server, resulting in the execution of arbitrary PHP code
with the privileges of the user running PhpWiki.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All PhpWiki users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=www-apps/phpwiki-1.3.10-r3&quot;</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2024">CVE-2007-2024</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2025">CVE-2007-2025</uri>
</references>
<metadata tag="requester" timestamp="Thu, 10 May 2007 13:26:06 +0000">
p-y
</metadata>
<metadata tag="submitter" timestamp="Fri, 11 May 2007 14:10:41 +0000">
p-y
</metadata>
<metadata tag="bugReady" timestamp="Mon, 14 May 2007 18:47:51 +0000">
p-y
</metadata>
</glsa>