Skip to content
OpenAdvisories
Unscored Public exploit CVE-2008-3963 EUVD-2008-3948GHSA-hp64-jg7m-f9mq

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…

Published Sep 10, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 mysql-dfsg-5.0 5.0.51a-24+lenny1 DSA-1783-1
Debian 4.0 mysql-dfsg-5.0 5.0.32-7etch10 DSA-1783-1
ReleasePackageFixed inAdvisory
RHEL 5 mysql +4 5.0.77-3.el5 RHSA-2009:1289
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 httpd +2 2.2.11-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 mod_jk +1 1.2.28-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 mod_ssl 1:2.2.11-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 mysql +6 5.0.79-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 mysql-connector-odbc 3.51.27r695-1.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 perl-DBD-MySQL 4.010-1.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 perl-DBD-Pg 1.49-5.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 php +18 5.2.9-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 postgresql +11 8.2.13-2.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 postgresql-jdbc 8.2.509-2jpp.el5s2 RHSA-2009:1067
Red Hat Rhel Application Stack 2 postgresqlclient81 8.1.17-1.el5s2 RHSA-2009:1067

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References