SQL injection vulnerability in inc/function_upload.php in MyBB before 1.0.1 allows remote attackers to execute arbitrary SQL commands via the file extension of an uploaded file attachment.
http://www.vupen.com/english/advisories/2006/0012
http://www.securityfocus.com/bid/16097
http://www.securityfocus.com/archive/1/420573/100/0/threaded