ID CVE-2008-3963
Summary MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.
References
Vulnerable Configurations
  • cpe:2.3:a:mysql:mysql:5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.1a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.1a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.3:beta:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.3:beta:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.3a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.3a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.4a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.4a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.10a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.10a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.15a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.15a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.16a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.16a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.17a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.17a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.20a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.20a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.21:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.21:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.22:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.22:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.22.1.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.22.1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.23:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.24a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.24a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.25:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.25:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.26:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.26:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.27:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.27:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.30:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.30:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.30:sp1:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.30:sp1:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.32:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.32:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.33:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.33:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.36:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.36:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.37:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.37:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.38:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.38:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.41:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.41:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.42:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.42:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.44:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.44:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.45:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.45:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.50:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.50:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.51:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.51:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.51a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.51a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.51b:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.51b:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.52:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.52:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.54:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.54:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.56:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.56:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.0.60:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.60:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.5a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.5a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.18:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.19:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.19:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.20:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.20:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.21:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.21:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.22:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.22:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23_bk:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23_bk:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23a:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23a:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:6.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:6.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:6.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:6.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:6.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:6.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:6.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:6.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:6.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:6.0.4:*:*:*:*:*:*:*
CVSS
Base: 4.0 (as of 05-01-2018 - 02:29)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • Format String Injection
    An attacker includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An attacker can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the attacker can write to the program stack.
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:S/C:N/I:N/A:P
oval via4
accepted 2013-04-29T04:06:23.158-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.
family unix
id oval:org.mitre.oval:def:10521
status accepted
submitted 2010-07-09T03:56:16-04:00
title MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.
version 18
redhat via4
advisories
  • rhsa
    id RHSA-2009:1067
  • rhsa
    id RHSA-2009:1289
rpms
  • mysql-0:5.0.77-3.el5
  • mysql-bench-0:5.0.77-3.el5
  • mysql-devel-0:5.0.77-3.el5
  • mysql-server-0:5.0.77-3.el5
  • mysql-test-0:5.0.77-3.el5
refmap via4
confirm
debian DSA-1783
mandriva MDVSA-2009:094
mlist
  • [oss-security] 20080909 CVE request: MySQL empty bit-string literal server crash
  • [oss-security] 20080909 Re: CVE request: MySQL empty bit-string literal server crash
sectrack 1020858
secunia
  • 31769
  • 32759
  • 32769
  • 34907
  • 36566
suse SUSE-SR:2008:025
ubuntu
  • USN-1397-1
  • USN-671-1
vupen ADV-2008-2554
xf mysql-bitstring-dos(45042)
statements via4
contributor Tomas Hoger
lastmodified 2009-09-02
organization Red Hat
statement This issue did not affect MySQL as supplied with Red Hat Enterprise Linux 3 or 4. This issue was addressed for Red Hat Enterprise Linux 5 and Red Hat Application Stack v2 https://rhn.redhat.com/cve/CVE-2008-3963.html
Last major update 05-01-2018 - 02:29
Published 11-09-2008 - 01:13
Back to Top