SQL injection vulnerability in edit_image.asp in ClickGallery Server 5.1 and earlier allows remote attackers to execute arbitrary SQL commands via the image_id parameter.
https://exchange.xforce.ibmcloud.com/vulnerabilities/35023
http://secunia.com/advisories/25805
http://pridels-team.blogspot.com/2007/06/clickgallery-server-vuln.html