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.0:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.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.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.4:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
  • 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.10:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
  • 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.16:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
  • 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.20:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
  • 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.24:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
  • 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.36:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.0.36:*:*:*:*:*:*:*
  • 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.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.5:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:mysql:mysql:5.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.23:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.23:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.25:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.25:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.26:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.26:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.30:sp1:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.30:sp1:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.32:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.32:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.33:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.38:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.38:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.41:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.41:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.42:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.42:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.45:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.45:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.50:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.50:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.51:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.51:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.0.52:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.0.52:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.20:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.20:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:5.1.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:5.1.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:6.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:6.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:6.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:6.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:6.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:6.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:6.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:6.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:6.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:6.0.4:*:*:*:*:*:*:*
CVSS
Base: 4.0 (as of 17-12-2019 - 20:26)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • 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.
  • Format String Injection
    An adversary 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 adversary 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 adversary can write to the program stack.
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
  • httpd-0:2.2.11-2.el5s2
  • httpd-debuginfo-0:2.2.11-2.el5s2
  • httpd-devel-0:2.2.11-2.el5s2
  • httpd-manual-0:2.2.11-2.el5s2
  • mod_jk-ap20-0:1.2.28-2.el5s2
  • mod_jk-debuginfo-0:1.2.28-2.el5s2
  • mod_ssl-1:2.2.11-2.el5s2
  • mysql-0:5.0.79-2.el5s2
  • mysql-bench-0:5.0.79-2.el5s2
  • mysql-cluster-0:5.0.79-2.el5s2
  • mysql-connector-odbc-0:3.51.27r695-1.el5s2
  • mysql-connector-odbc-debuginfo-0:3.51.27r695-1.el5s2
  • mysql-debuginfo-0:5.0.79-2.el5s2
  • mysql-devel-0:5.0.79-2.el5s2
  • mysql-libs-0:5.0.79-2.el5s2
  • mysql-server-0:5.0.79-2.el5s2
  • mysql-test-0:5.0.79-2.el5s2
  • perl-DBD-MySQL-0:4.010-1.el5s2
  • perl-DBD-MySQL-debuginfo-0:4.010-1.el5s2
  • perl-DBD-Pg-0:1.49-5.el5s2
  • perl-DBD-Pg-debuginfo-0:1.49-5.el5s2
  • php-0:5.2.9-2.el5s2
  • php-bcmath-0:5.2.9-2.el5s2
  • php-cli-0:5.2.9-2.el5s2
  • php-common-0:5.2.9-2.el5s2
  • php-dba-0:5.2.9-2.el5s2
  • php-debuginfo-0:5.2.9-2.el5s2
  • php-devel-0:5.2.9-2.el5s2
  • php-gd-0:5.2.9-2.el5s2
  • php-imap-0:5.2.9-2.el5s2
  • php-ldap-0:5.2.9-2.el5s2
  • php-mbstring-0:5.2.9-2.el5s2
  • php-mysql-0:5.2.9-2.el5s2
  • php-ncurses-0:5.2.9-2.el5s2
  • php-odbc-0:5.2.9-2.el5s2
  • php-pdo-0:5.2.9-2.el5s2
  • php-pgsql-0:5.2.9-2.el5s2
  • php-snmp-0:5.2.9-2.el5s2
  • php-soap-0:5.2.9-2.el5s2
  • php-xml-0:5.2.9-2.el5s2
  • php-xmlrpc-0:5.2.9-2.el5s2
  • postgresql-0:8.2.13-2.el5s2
  • postgresql-contrib-0:8.2.13-2.el5s2
  • postgresql-debuginfo-0:8.2.13-2.el5s2
  • postgresql-devel-0:8.2.13-2.el5s2
  • postgresql-docs-0:8.2.13-2.el5s2
  • postgresql-jdbc-0:8.2.509-2jpp.el5s2
  • postgresql-jdbc-debuginfo-0:8.2.509-2jpp.el5s2
  • postgresql-libs-0:8.2.13-2.el5s2
  • postgresql-plperl-0:8.2.13-2.el5s2
  • postgresql-plpython-0:8.2.13-2.el5s2
  • postgresql-pltcl-0:8.2.13-2.el5s2
  • postgresql-python-0:8.2.13-2.el5s2
  • postgresql-server-0:8.2.13-2.el5s2
  • postgresql-tcl-0:8.2.13-2.el5s2
  • postgresql-test-0:8.2.13-2.el5s2
  • postgresqlclient81-0:8.1.17-1.el5s2
  • postgresqlclient81-debuginfo-0:8.1.17-1.el5s2
  • mysql-0:5.0.77-3.el5
  • mysql-bench-0:5.0.77-3.el5
  • mysql-debuginfo-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 17-12-2019 - 20:26
Published 11-09-2008 - 01:13
Last modified 17-12-2019 - 20:26
Back to Top