Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-2446 EUVD-2009-2441GHSA-q8wr-mc75-9wjp

Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 a…

Published Jul 13, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

Multiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 allow remote authenticated users to cause a denial of service (daemon crash) and possibly have unspecified other impact via format string specifiers in a database name in a (1) COM_CREATE_DB or (2) COM_DROP_DB request. NOTE: some of these details are obtained from third party information.

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+lenny2 DSA-1877-1
Debian 4.0 mysql-dfsg-5.0 5.0.32-7etch11 DSA-1877-1
ReleasePackageFixed inAdvisory
RHEL 5 mysql +4 5.0.77-3.el5 RHSA-2009:1289
RHEL 4 mysql +3 4.1.22-2.el4_8.3 RHSA-2010:0110
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 httpd +2 2.2.13-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 mod_ssl 1:2.2.13-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 mysql +6 5.0.84-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 perl-DBD-MySQL 4.012-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 perl-DBI 1.609-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 php +18 5.2.10-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 php-pear 1:1.8.1-2.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 postgresql +11 8.2.14-1.el5s2 RHSA-2009:1461
Red Hat Rhel Application Stack 2 postgresql-jdbc 8.2.510-1jpp.el5s2 RHSA-2009:1461

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 4

References