Joomla PaxGallery Component "gid" SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA33352

VERIFY ADVISORY:
http://secunia.com/advisories/33352/

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
PaxGallery 0.x (component for Joomla)
http://secunia.com/advisories/product/20879/

DESCRIPTION:
XaDoS has reported a vulnerability in the PaxGallery component for
Joomla, which can be exploited by malicious people to conduct SQL
injection attacks.

Input passed via the "gid" parameter in index.php (when "option" is
set to "com_paxgallery") is not properly sanitised before being used
in SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.

This vulnerability is reported in version 0.1. Other versions may
also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
XaDoS

ORIGINAL ADVISORY:
http://www.milw0rm.com/exploits/7587