include/common.php in PunBB 1.2.14 and earlier does not properly handle a disabled ini_get function when checking the register_globals setting, which allows remote attackers to register global parameters, as demonstrated by an SQL injection attack on the search_id parameter to search.php.
http://www.securityfocus.com/archive/1/465400/100/100/threaded
http://www.securityfocus.com/archive/1/465338/100/100/threaded
http://www.acid-root.new.fr/advisories/13070411.txt