source: https://www.securityfocus.com/bid/15659/info

Instant Photo Gallery 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 an SQL query.

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.

Versions v1 and prior are reported to be vulnerable; other versions may also be affected.

http://www.example.com/portfolio.php?cat_id=[SQL]