Phpbb Tweaked *phpbb_root_path* File Inclusion

Posted on Thursday, February 01, 2007 @ 12:16:10 CST in Security
by Raven

SECUNIA ADVISORY ID: SA24001

VERIFY ADVISORY: http://secunia.com/advisories/24001/

CRITICAL: Highly critical

IMPACT: System access

SOFTWARE: Phpbb Tweaked - http://secunia.com/product/13398/

DESCRIPTION: xoron has discovered a vulnerability in Phpbb Tweaked, which can be exploited by malicious people to compromise vulnerable systems.
Input passed to the "phpbb_root_path" parameter in includes/functions.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources. Successful exploitation requires that "register_globals" is enabled. The vulnerability is confirmed in version 3. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly verified.

PROVIDED AND/OR DISCOVERED BY: xoron

ORIGINAL ADVISORY: http://milw0rm.com/exploits/3235