MySQL contains a flaw that is triggered when a users connects to MySQL 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 odds.
Classification
Location:
Local / Remote
Attack Type:
Authentication Management
Impact:
Loss of Integrity
Solution:
Upgrade
Exploit:
Exploit Public,
Exploit Commercial
Disclosure:
Vendor Verified
Solution
Upgrade to version 5.1.63, 5.5.24, 5.6.6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.