phpBB SpamBlockerMod *phpbb_root_path* File Inclusion Vulnerability

Posted on Friday, October 13, 2006 @ 10:53:15 CDT in Security
by Raven

SECUNIA ADVISORY ID: SA22356

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

CRITICAL: Highly critical

IMPACT: System access

WHERE: >From remote

SOFTWARE: SpamBlockerMod 1.x (module for phpBB) - http://secunia.com/product/12298/

DESCRIPTION: Ashiyane Corporation has reported a vulnerability in the SpamBlockerMod module for phpBB, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "phpbb_root_path" parameter in includes/antispam.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources. Successful exploitation requires that "register_globals" is enabled. The vulnerability is reported in version 1.0.2. Other versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY: Ashiyane Corporation

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