MySQL 5.1 < 5.1.26 Empty Bit-String Literal Token SQL Statement DoS

medium Nessus Plugin ID 34160

Synopsis

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

Description

The version of MySQL 5.1 installed on the remote host is earlier than 5.1.26. 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.

Solution

Upgrade to MySQL version 5.1.26.

See Also

http://bugs.mysql.com/bug.php?id=35658

http://dev.mysql.com/doc/refman/5.1/en/news-5-1-26.html

https://www.openwall.com/lists/oss-security/2008/09/09/4

https://www.openwall.com/lists/oss-security/2008/09/09/7

Plugin Details

Severity: Medium

ID: 34160

File Name: mysql_5_1_26.nasl

Version: 1.14

Type: remote

Family: Databases

Published: 9/11/2008

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2008-3963

BID: 31081

CWE: 134