blob: cba756ef083116ed42805cf5cc0f7e8db9c2bc6f [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200609-10">
<title>DokuWiki: Arbitrary command execution</title>
Vulnerabilities in some accessory scripts of DokuWiki allow remote code
<product type="ebuild">dokuwiki</product>
<announced>September 14, 2006</announced>
<revised>September 14, 2006: 01</revised>
<package name="www-apps/dokuwiki" auto="yes" arch="*">
<unaffected range="ge">20060309d</unaffected>
<vulnerable range="lt">20060309d</vulnerable>
DokuWiki is a wiki targeted at developer teams, workgroups and small
companies. It does not use a database backend.
"rgod" discovered that DokuWiki doesn't sanitize the X-FORWARDED-FOR
HTTP header, allowing the injection of arbitrary contents - such as PHP
commands - into a file. Additionally, the accessory scripts installed
in the "bin" DokuWiki directory are vulnerable to directory traversal
attacks, allowing to copy and execute the previously injected code.
<impact type="high">
A remote attacker may execute arbitrary PHP (and thus probably system)
commands with the permissions of the user running the process serving
DokuWiki pages.
Disable remote access to the "bin" subdirectory of the DokuWiki
installation. Remove the directory if you don't use the scripts in
All DokuWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=www-apps/dokuwiki-20060309d&quot;</code>
<uri link="">CVE-2006-4674</uri>
<uri link="">CVE-2006-4675</uri>
<uri link="">CVE-2006-4679</uri>
<metadata tag="submitter" timestamp="Thu, 14 Sep 2006 07:55:18 +0000">
<metadata tag="bugReady" timestamp="Thu, 14 Sep 2006 15:09:04 +0000">