Gentoo Logo

DokuWiki: Shell command injection and Denial of Service


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200609-20 / dokuwiki
Release Date September 28, 2006
Latest Revision December 13, 2006: 02
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/dokuwiki < 20060309e >= 20060309e All supported architectures

Related bugreports: #149266


DokuWiki is vulnerable to shell command injection and Denial of Service attacks when using ImageMagick.

2.  Impact Information


DokuWiki is a wiki targeted at developer teams, workgroups and small companies. It does not use a database backend.


Input validation flaws have been discovered in the image handling of fetch.php if ImageMagick is used, which is not the default method.


A remote attacker could exploit the flaws to execute arbitrary shell commands with the rights of the web server daemon or cause a Denial of Service.

3.  Resolution Information


There is no known workaround at this time.


All DokuWiki users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/dokuwiki-20060309e"

4.  References


Page updated September 28, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.