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

Dell XPS 15 4K Touchscreen 32GB RAM, 1TB SSD, 1050TI
$1200.0
Dell XPS 15 4K Touchscreen 32GB RAM, 1TB SSD, 1050TI pictureDell Optiplex 7010 Desktop PC 3.40 GHz Core i7-3770 8GB RAM 500 HDD WIN 10
$179.0
Dell Optiplex 7010 Desktop PC 3.40 GHz Core i7-3770 8GB RAM 500 HDD WIN 10 pictureAPPLE MACBOOK PRO EARLY 2011 I7 2.0 GHz. A1286 4GB RAM
$299.99
APPLE MACBOOK PRO EARLY 2011 I7 2.0 GHz. A1286 4GB RAM pictureDell Optiplex 3020 SFF i3-4130 3.40GHz 500GB 4GB RAM Win10Pro
$45.0
Dell Optiplex 3020 SFF i3-4130 3.40GHz 500GB 4GB RAM Win10Pro picture


Discussions

No Discussions have been posted on this vulnerability.