Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200609-10 ] DokuWiki: Arbitrary command execution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Thu Sep 14, 2006 4:26 pm    Post subject: [ GLSA 200609-10 ] DokuWiki: Arbitrary command execution Reply with quote

Gentoo Linux Security Advisory

Title: DokuWiki: Arbitrary command execution (GLSA 200609-10)
Severity: high
Exploitable: remote
Date: September 14, 2006
Bug(s): #146800
ID: 200609-10

Synopsis

Vulnerabilities in some accessory scripts of DokuWiki allow remote code execution.

Background

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

Affected Packages

Package: www-apps/dokuwiki
Vulnerable: < 20060309d
Unaffected: >= 20060309d
Architectures: All supported architectures


Description

"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

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.

Resolution

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


References

CVE-2006-4674
CVE-2006-4675
CVE-2006-4679
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum