82823 : MariaDB Authentication Protocol Token Comparison Casting Failure Password Bypass
Printer | http://osvdb.org/82823 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 356 12 months ago 12 months ago 4 times 100%

Timeline

Disclosure Date
2012-04-04

Description

MariaDB contains a flaw that is triggered when a users connects to MariaDB and a randomly generated token is calculated and then compared with an expected value. Due to a failure in casting it is possible that the values are seen as equal even if the memcmp() function returns a zero value. This will tell the program that the password is correct, when it is not. Due to the protocol generating random strings this may allow an attacker to bypass password authentication with a 1/256 chance of success.

Classification

Location: Local / Remote
Attack Type: Authentication Management
Impact: Loss of Integrity
Solution: Upgrade
Exploit: Exploit Public
Disclosure: Vendor Verified

Solution

Upgrade to version 5.1.62, 5.2.12, 5.3.6, 5.5.23 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

Michael Widenius
MariaDB
5.1.61
5.2.11
5.3.5
5.5.22

References

Credit

CVSSv2 Score

NVD does not currently have a CVSSv2 score assigned.

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use