source: https://www.securityfocus.com/bid/55586/info
TAGWORX.CMS is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
A successful exploit may allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
http://www.example.com/gallery.php?cid=124'&pid=124
http://www.example.com/gallery.php?cat_id=17&cid='&pid=&img=1
http://www.example.com/gallery.php?cid=124'&pid=124