Joomla! Aardvertiser Component "cat_name" SQL Injection

SECUNIA ADVISORY ID:
SA41293

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/41293/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=41293

RELEASE DATE:
2010-09-07
DESCRIPTION:
A vulnerability has been discovered in the Aardvertiser component for
Joomla!, which can be exploited by malicious people to conduct SQL
injection attacks.

Input passed via "cat_name" to index.php (when "option" is set to
"com_aardvertiser" and "task" is set to "view") is not properly
sanitised before being used in SQL queries. This can be exploited to
manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

The vulnerability is confirmed in version 2.1.1. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
Stephan Sattler