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

Photokorn is prone to multiple SQL-injection vulnerabilities because the application fails to properly sanitize user-supplied input before using it in an SQL query. 

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.

http://www.example.com/[Path]/index.php?action=showgal&cat=[Sql]
http://www.example.com/[Path]/index.php?action=showpic&cat=1&pic=[Sql]