SQL injection vulnerability in portfolio_photo_popup.php in Verosky Media Instant Photo Gallery 1.0.2 allows remote attackers to execute arbitrary SQL commands via the id parameter, which is not cleansed before calling the count_click function in includes/functions/fns_std.php. NOTE: this issue could produce resultant XSS.
http://www.vupen.com/english/advisories/2006/1533
http://www.securityfocus.com/archive/1/432241/100/0/threaded
http://www.securityfocus.com/archive/1/432024/100/0/threaded
http://securityreason.com/securityalert/803