SQL injection vulnerability in posting_notes.php in the notes module for phpBB allows remote attackers to execute arbitrary SQL commands via the p parameter, which is used in the $post_id variable, and other attack vectors.
https://exchange.xforce.ibmcloud.com/vulnerabilities/20303
http://www.vupen.com/english/advisories/2005/0416
http://www.gulftech.org/?node=research&article_id=00070-04272005