Joomla hwdVideoShare Component "cat_id" SQL Injection

SECUNIA ADVISORY ID:
SA29044

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
hwdVideoShare (component for Joomla) 1.x
http://secunia.com/product/17733/

DESCRIPTION:
S@BUN has discovered a vulnerability in the hwdVideoShare component
for Joomla, which can be exploited by malicious people to conduct SQL
injection attacks.

Input passed to the "cat_id" parameter in index.php (if "option" is
set to "com_hwdvideoshare" and "func" to "viewcategory") is not
properly sanitised before being used in SQL queries. This can be
exploited to execute SQL queries by injecting SQL code.

The vulnerability is confirmed in version 1.1.3 Alpha (free). Other
versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
S@BUN

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