MySQL Enterprise Server 5.0 < 5.0.66 Empty Bit-String Literal Token SQL Statement DoS

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


Synopsis :

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

Description :

The version of MySQL Enterprise Server 5.0 installed on the remote
host is earlier than 5.0.66. 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://dev.mysql.com/doc/refman/5.0/en/news-5-0-66.html
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 Enterprise Server version 5.0.66.

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: 34162 ()

Bugtraq ID: 31081

CVE ID: CVE-2008-3963