PHP remote file inclusion vulnerability in addpost_newpoll.php in UBB.threads 6.4 through 6.5.2 and 6.5.1.1 (trial) allows remote attackers to execute arbitrary PHP code via a URL in the thispath parameter.
https://www.exploit-db.com/exploits/1814
https://exchange.xforce.ibmcloud.com/vulnerabilities/26596
http://www.vupen.com/english/advisories/2006/1915
http://www.ubbcentral.com/boards/showflat.php/Cat/0/Number/4560078/an/0/page/0#Post4560078