Joomla EasyBook Component "gbid" SQL Injection

SECUNIA ADVISORY ID:
SA30539

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

CRITICAL:
Less critical

IMPACT:
Manipulation of data, Exposure of sensitive information

WHERE:
>From remote

SOFTWARE:
EasyBook 1.x (component for Joomla)
http://secunia.com/product/18995/

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

Input passed to the "gbid" parameter in the Joomla! installation's
index.php script (when "option" is set to "com_easybook" and "func"
to "deleteentry") 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 and the administrator's e-mail address.

The vulnerability is reported in version 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:
ZAMUT

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