blob: 10347515853e3acd4d83ab0ae52f5eca6fc89749 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200606-16">
<title>DokuWiki: PHP code injection</title>
<synopsis>
A flaw in DokuWiki's spell checker allows for the execution of arbitrary
PHP commands, even without proper authentication.
</synopsis>
<product type="ebuild">DokuWiki</product>
<announced>June 14, 2006</announced>
<revised>June 14, 2006: 01</revised>
<bug>135623</bug>
<access>remote</access>
<affected>
<package name="www-apps/dokuwiki" auto="yes" arch="*">
<unaffected range="ge">20060309-r1</unaffected>
<vulnerable range="lt">20060309-r1</vulnerable>
</package>
</affected>
<background>
<p>
DokuWiki is a simple to use wiki targeted at developer teams,
workgroups and small companies.
</p>
</background>
<description>
<p>
Stefan Esser discovered that the DokuWiki spell checker fails to
properly sanitize PHP's "complex curly syntax".
</p>
</description>
<impact type="high">
<p>
A unauthenticated remote attacker may execute arbitrary PHP commands -
and thus possibly arbitrary system commands - with the permissions of
the user running the webserver that serves DokuWiki pages.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All DokuWiki users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=www-apps/dokuwiki-20060309-r1&quot;</code>
</resolution>
<references>
<uri link="http://www.hardened-php.net/advisory_042006.119.html">Hardened-PHP advisory</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2878">CVE-2006-2878</uri>
</references>
<metadata tag="requester" timestamp="Sun, 11 Jun 2006 22:03:16 +0000">
falco
</metadata>
<metadata tag="submitter" timestamp="Mon, 12 Jun 2006 18:33:06 +0000">
frilled
</metadata>
<metadata tag="bugReady" timestamp="Tue, 13 Jun 2006 21:28:32 +0000">
falco
</metadata>
</glsa>