PHP remote file inclusion vulnerability in bb_func_txt.php in miniBB 2.0.2 and earlier, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the pathToFiles parameter.
https://www.exploit-db.com/exploits/2655
https://exchange.xforce.ibmcloud.com/vulnerabilities/29831
http://www.vupen.com/english/advisories/2006/4222