Joomla JoomRadio Component "id" SQL Injection

SECUNIA ADVISORY ID:
SA30513

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data, Exposure of sensitive information

WHERE:
>From remote

SOFTWARE:
JoomRadio 2.x (component for Joomla)
http://secunia.com/product/18980/

DESCRIPTION:
His0k4 has discovered two vulnerabilities in the JoomRadio component
for Joomla!, which can be exploited by malicious people to conduct
SQL injection attacks.

Input passed to the "id" parameter in the Joomla! installation's
index.php script (when "option" is set to "com_joomradio", and "page"
is set to either "show_radio" or "show_video") 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 allows e.g. retrieving administrator
usernames and password hashes, but requires knowledge of the database
table prefix.

The vulnerabilities are confirmed in version 2. Other versions may
also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
His0k4

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