Korean
<< Back
VID 21303
Severity 30
Port 80, ...
Protocol TCP
Class CGI
Detailed Description The Invision Gallery installed on the remote web server is vulnerable to a SQL Injection Vulnerability via 'index.php' script.
Invision Gallery is a photo gallery plug-in for Invision Power Board, which is a PHP-based Web forum software package. The version 1.0.1 of Invision Gallery is vulnerable to a SQL Injection Vulnerability, caused by insufficient filtering of user-supplied data via the 'img', 'cat', 'sort_key', 'order_key', 'user' and 'album' parameters of the gallery module accessed via the 'index.php' script. By passing malicious SQL commands to the backend database via 'index.php' script as the followings:

index.php?act=module&module=gallery&cmd=si&img=[SQL]
index.php?act=module&module=gallery&cmd=editimg&img=[SQL]
index.php?act=module&module=gallery&cmd=ecard&img=[SQL]
index.php?act=module&module=gallery&cmd=moveimg&img=[SQL]
index.php?act=module&module=gallery&cmd=delimg&img=[SQL]
index.php?act=module&module=gallery&cmd=post&cat=[SQL]
index.php?act=module&module=gallery&cmd=sc&op=user&sort_key=[SQL]
index.php?act=module&module=gallery&cmd=sc&op=user&sort_key=date&order_key=[SQL]
index.php?act=module&module=gallery&cmd=favs&op=add&img=[SQL]
index.php?act=module&module=gallery&cmd=slideshow&cat=[SQL]
index.php?act=module&module=gallery&cmd=user&user=[SQL]&op=view_album&album=1
index.php?act=module&module=gallery&cmd=user&user=[SQL]
index.php?act=module&module=gallery&cmd=user&user=1&op=view_album&album=[SQL]

a remote attacker could add, modify or delete information in the backend database.

* References:
http://archives.neohapsis.com/archives/bugtraq/2004-03/0210.html

* Platforms Affected:
Invision Gallery 1.0.1
Any operating system Any version
Recommendation No upgrade or patch for this vulnerability available as of June 2004.
Related URL CVE-2004-1835 (CVE)
Related URL 9944 (SecurityFocus)
Related URL 15566 (ISS)