Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200609-10] DokuWiki: Arbitrary command execution


Vulnerability Assessment Details

[GLSA-200609-10] DokuWiki: Arbitrary command execution

Vulnerability Assessment Summary
DokuWiki: Arbitrary command execution

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200609-10
(DokuWiki: Arbitrary command execution)


"rgod" discovered that DokuWiki doesn't sanitize the X-FORWARDED-FOR
HTTP header, permiting 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, permiting to copy and execute the previously injected code.

Impact

A remote attacker may execute arbitrary PHP (and thus probably system)
commands with the permissions of the user running the process serving
DokuWiki pages.

Workaround

Disable remote access to the "bin" subdirectory of the DokuWiki
installation. Remove the directory if you don't use the scripts in
there.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4674
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4675
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4679


Solution:
All DokuWiki users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-apps/dokuwiki-20060309d"


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2006 Michel Arboi

Cables, Connectors

Latest KNOPPIX LINUX Operating system PC repair Bootable live system Windows USB
$19.99
Latest KNOPPIX LINUX Operating system PC repair Bootable live system Windows USB pictureKnoppix 7.2.0 Live Linux Bootable Startup CD (Runs form CD) +Free Retro Linux CD
$11.95
Knoppix 7.2.0 Live Linux Bootable Startup CD (Runs form CD) +Free Retro Linux CD pictureKNOPPIX LINUX - NEW v8.1 Live DVD & 16GB USB Flash Drive with Persistence
$17.99
KNOPPIX LINUX - NEW v8.1 Live DVD & 16GB USB Flash Drive with Persistence pictureKnoppix Linux Live USB 32 64 bit Debian GNU Apache MySQL w/setup guide
$8.0
Knoppix Linux Live USB 32 64 bit Debian GNU Apache MySQL w/setup guide picture


Discussions

No Discussions have been posted on this vulnerability.