Joomla mDigg Component "category" SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA33306

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
mDigg (component for Joomla)
http://secunia.com/advisories/product/20869/

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

Input passed to the "category" parameter (if "option" is set to
"com_mdigg", "act" is set to "story_lists", 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.

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

PROVIDED AND/OR DISCOVERED BY:
Zhigang Lei

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/7574