MySQL dispatch_command() denial of service

mysql-dispatchcommand-dos (51614) The risk level is classified as MediumMedium Risk

Description:

MySQL is vulnerable to a denial of service, caused by a format string vulnerability in the dispatch_command() function in the sql_parse.cc file. By sending specially-crafted COM_CREATE_DB or COM_DROP_DB requests containing format string specifiers, a remote attacker with database privileges could exploit this vulnerability to cause the application to crash.

*CVSS:

Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: None
  Availability Impact: Partial
 
Temporal Score: 3.4
  Exploitability: Proof-of-Concept
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Denial of Service

Remedy:

Upgrade to the latest version of MySQL (5.1.36 or later), available from the MySQL Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Apple Web site: About the security content of Security Update 2010-002 / Mac OS X v10.6.3.
  • Full-Disclosure Mailing List, Wed Jul 08 2009 - 18:01:16 CDT : MySQL <= 5.0.45 post auth format string vulnerability.
  • MySQL Web site: MySQL Downloads.
  • BID-35609: MySQL 'sql_parse.cc' Multiple Format String Vulnerabilities
  • CVE-2009-2446: 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.
  • DSA-1877: mysql-dfsg-5.0 -- denial of service/execution of arbitrary code
  • MDVSA-2009:159: mysql
  • MDVSA-2009:326: mysql
  • OSVDB ID: 55734: MySQL sql_parse.cc dispatch_command() Function Format String DoS
  • RHSA-2009-1289: Moderate: mysql security and bug fix update
  • RHSA-2009-1461: Important: Red Hat Application Stack v2.4 security and enhancement update
  • RHSA-2010-0110: Moderate: mysql security update
  • SA35767: MySQL "dispatch_command()" Denial of Service Vulnerability
  • SECTRACK ID: 1022533: MySQL Format String Bug in dispatch_command() Lets Remote Users Deny Service
  • SUSE-SR:2009:014: SUSE Security Summary Report
  • USN-897-1: MySQL vulnerabilities

Platforms Affected:

  • Apple Mac OS X Server 10.6
  • Apple Mac OS X Server 10.6.1
  • Apple Mac OS X Server 10.6.2
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 8.04 LTS
  • Canonical Ubuntu 8.10
  • Debian Debian Linux 4.0
  • Debian Debian Linux 5.0
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux 2008.1
  • MandrakeSoft Mandrake Linux 2008.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • Mandriva Linux 2009.0
  • Mandriva Linux 2009.0 X86_64
  • MySQL MySQL 4.0.0
  • MySQL MySQL 4.0.1
  • MySQL MySQL 4.0.10
  • MySQL MySQL 4.0.11 Gamma
  • MySQL MySQL 4.0.11
  • MySQL MySQL 4.0.12
  • MySQL MySQL 4.0.13
  • MySQL MySQL 4.0.14
  • MySQL MySQL 4.0.15
  • MySQL MySQL 4.0.16
  • MySQL MySQL 4.0.17
  • MySQL MySQL 4.0.18
  • MySQL MySQL 4.0.19
  • MySQL MySQL 4.0.2
  • MySQL MySQL 4.0.20
  • MySQL MySQL 4.0.21
  • MySQL MySQL 4.0.23
  • MySQL MySQL 4.0.24
  • MySQL MySQL 4.0.25
  • MySQL MySQL 4.0.26
  • MySQL MySQL 4.0.27
  • MySQL MySQL 4.0.3
  • MySQL MySQL 4.0.4
  • MySQL MySQL 4.0.5
  • MySQL MySQL 4.0.5A
  • MySQL MySQL 4.0.6
  • MySQL MySQL 4.0.7 Gamma
  • MySQL MySQL 4.0.7
  • MySQL MySQL 4.0.8 Gamma
  • MySQL MySQL 4.0.8
  • MySQL MySQL 4.0.9
  • MySQL MySQL 4.0.9 Gamma
  • MySQL MySQL 4.1
  • MySQL MySQL 4.1.0
  • MySQL MySQL 4.1.0 Alpha
  • MySQL MySQL 4.1.0.0
  • MySQL MySQL 4.1.0.0 Alpha
  • MySQL MySQL 4.1.1
  • MySQL MySQL 4.1.10
  • MySQL MySQL 4.1.10a
  • MySQL MySQL 4.1.11
  • MySQL MySQL 4.1.11a
  • MySQL MySQL 4.1.12
  • MySQL MySQL 4.1.12a
  • MySQL MySQL 4.1.13
  • MySQL MySQL 4.1.13a
  • MySQL MySQL 4.1.14
  • MySQL MySQL 4.1.14a
  • MySQL MySQL 4.1.15
  • MySQL MySQL 4.1.15a
  • MySQL MySQL 4.1.16
  • MySQL MySQL 4.1.17
  • MySQL MySQL 4.1.18
  • MySQL MySQL 4.1.19
  • MySQL MySQL 4.1.2
  • MySQL MySQL 4.1.2 Alpha
  • MySQL MySQL 4.1.20
  • MySQL MySQL 4.1.21
  • MySQL MySQL 4.1.22
  • MySQL MySQL 4.1.23
  • MySQL MySQL 4.1.3 Beta
  • MySQL MySQL 4.1.3
  • MySQL MySQL 4.1.3.0
  • MySQL MySQL 4.1.4
  • MySQL MySQL 4.1.5
  • MySQL MySQL 4.1.6
  • MySQL MySQL 4.1.7
  • MySQL MySQL 4.1.8
  • MySQL MySQL 4.1.8a
  • MySQL MySQL 4.1.9
  • MySQL MySQL 5.0
  • MySQL MySQL 5.0.0
  • MySQL MySQL 5.0.0 Alpha
  • MySQL MySQL 5.0.0.0
  • MySQL MySQL 5.0.1
  • MySQL MySQL 5.0.10
  • MySQL MySQL 5.0.10a
  • MySQL MySQL 5.0.11
  • MySQL MySQL 5.0.12
  • MySQL MySQL 5.0.13
  • MySQL MySQL 5.0.14
  • MySQL MySQL 5.0.15
  • MySQL MySQL 5.0.15a
  • MySQL MySQL 5.0.16
  • MySQL MySQL 5.0.16a
  • MySQL MySQL 5.0.17
  • MySQL MySQL 5.0.17a
  • MySQL MySQL 5.0.18
  • MySQL MySQL 5.0.19
  • MySQL MySQL 5.0.1a
  • MySQL MySQL 5.0.2
  • MySQL MySQL 5.0.20
  • MySQL MySQL 5.0.20a
  • MySQL MySQL 5.0.21
  • MySQL MySQL 5.0.22
  • MySQL MySQL 5.0.22.1.0.1
  • MySQL MySQL 5.0.23
  • MySQL MySQL 5.0.24
  • MySQL MySQL 5.0.24a
  • MySQL MySQL 5.0.25
  • MySQL MySQL 5.0.27
  • MySQL MySQL 5.0.3
  • MySQL MySQL 5.0.3 Beta
  • MySQL MySQL 5.0.30
  • MySQL MySQL 5.0.30 SP1
  • MySQL MySQL 5.0.32
  • MySQL MySQL 5.0.33
  • MySQL MySQL 5.0.36
  • MySQL MySQL 5.0.37
  • MySQL MySQL 5.0.38
  • MySQL MySQL 5.0.3a
  • MySQL MySQL 5.0.4
  • MySQL MySQL 5.0.41
  • MySQL MySQL 5.0.42
  • MySQL MySQL 5.0.44
  • MySQL MySQL 5.0.45
  • MySQL MySQL 5.0.4a
  • MySQL MySQL 5.0.5
  • MySQL MySQL 5.0.5.0.21
  • MySQL MySQL 5.0.50
  • MySQL MySQL 5.0.51
  • MySQL MySQL 5.0.51a
  • MySQL MySQL 5.0.51b
  • MySQL MySQL 5.0.52
  • MySQL MySQL 5.0.6
  • MySQL MySQL 5.0.60
  • MySQL MySQL 5.0.66
  • MySQL MySQL 5.0.7
  • MySQL MySQL 5.0.7 Beta
  • MySQL MySQL 5.0.75
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4.8.z ES
  • RedHat Enterprise Linux 4.8.z AS
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5
  • RedHat RHEL Application Stack 2

Reported:

Jul 08, 2009

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.