MySQL 6.0 < 6.0.6 Empty Bit-String Literal Token SQL Statement DoS

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote database server is susceptible to a denial of service
attack.

Description :

The version of MySQL 6.0 installed on the remote host is earlier than
6.0.6. A bug in such versions can lead to a server crash in
'Item_bin_string::Item_bin_string' when handling an empty bit-string
literal (b''). Using a simple SELECT statement, an authenticated
remote user can leverage this issue to crash the database server and
deny service to legitimate users.

See also :

http://bugs.mysql.com/bug.php?id=35658
http://www.nessus.org/u?aa297915
http://www.openwall.com/lists/oss-security/2008/09/09/4
http://www.openwall.com/lists/oss-security/2008/09/09/7

Solution :

Upgrade to MySQL version 6.0.6.

Risk factor :

Medium / CVSS Base Score : 4.0
(CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P)
CVSS Temporal Score : 3.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 34161 ()

Bugtraq ID: 31081

CVE ID: CVE-2008-3963