OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA28940] Joomla! McQuiz Component "tid" SQL Injection

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Fri Feb 15 2008 - 17:17:04 CST


----------------------------------------------------------------------

A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI
has been released. The new version includes many new and advanced
features, which makes it even easier to stay patched.

Download and test it today:
https://psi.secunia.com/

Read more about this new version:
https://psi.secunia.com/?page=changelog

----------------------------------------------------------------------

TITLE:
Joomla! McQuiz Component "tid" SQL Injection

SECUNIA ADVISORY ID:
SA28940

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

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data, Exposure of sensitive information

WHERE:
From remote

SOFTWARE:
McQuiz 0.x (component for Joomla)
http://secunia.com/product/17581/

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

Input passed to the "tid" parameter in the Joomla! installation's
index.php script (when "option" is set to "com_mcquiz", "task" to
"user_tst_shw", and "Itemid" to a valid item ID) 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 vulnerability is confirmed in version 0.9 Final. Other versions
may also be affected.

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

PROVIDED AND/OR DISCOVERED BY:
SBUN

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

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------