ClickGallery Server vuln.
###############################################
Vuln. discovered by : r0t
Date: 2 May 2007
vendor:http://www.clicktech.com/
orginal advisory:
http://pridels-team.blogspot.com/2007/06/clickgallery-server-vuln.html
affected versions: 5.1 and previous
###############################################
ClickGallery Server contains a flaw that allows a remote sql injection
attacks.Input passed to the "image_id" parameter in "edit_image.asp" isn't
properly sanitised before being used in a SQL query.
This can be exploited to manipulate SQL queries by injecting arbitrary SQL
code.
ClickGallery Server contains a flaw that allows a remote Cross-Site
Scripting attacks.Input passed to the "from" parameter in "edit_image.asp"
isn't properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.
###############################################
Solution:
Edit the source code to ensure that input is properly sanitised.
###############################################