source: http://www.securityfocus.com/bid/16340/info

BlogPHP is prone to multiple SQL injection vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input before using it in SQL queries.

Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation.

Version 1.2 is vulnerable; other versions may also be affected. 

The following proof of concept is available:


blogphp_username=admin
blogphp_password=imei' or '1'='1