MySQL RENAME TABLE weak security

mysql-renametable-weak-security (34347) The risk level is classified as LowLow Risk

Description:

MySQL could provide weaker than expected security, caused by a vulnerability in the mysql_execute_command() function. The RENAME TABLE statement does not require DROP privileges. An authenticated remote attacker could exploit this vulnerability to rename arbitrary tables.

*CVSS:

Base Score: 3.2
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Required
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 2.8
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Bypass Security

Remedy:

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

For Mandriva Linux (MySQL):
Refer to MDKSA-2007:139 for patch, upgrade, or suggested workaround information. See References.

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

References:

  • Apple Web site: About Security Update 2008-007 .
  • MySQL 5.1 Reference Manual: C.1.2. Changes in release 5.1.18 (08 May 2007).
  • MySQL Web site: MySQL AB :: The world's most popular open source database.
  • ASA-2007-382: MySQL security update (RHSA-2007-0894)
  • ASA-2008-327: mysql security update (RHSA-2008-0768)
  • BID-24016: MySQL Rename Table Function Access Validation Vulnerability
  • BID-31681: RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
  • CVE-2007-2691: MySQL before 4.1.23, 5.0.x before 5.0.42, and 5.1.x before 5.1.18 does not require the DROP privilege for RENAME TABLE statements, which allows remote authenticated users to rename arbitrary tables.
  • DSA-1413: mysql -- multiple vulnerabilities
  • MDKSA-2007:139: Updated MySQL packages fix multiple security issues
  • OSVDB ID: 34766: MySQL RENAME TABLE Statement Arbitrary Table Name Modification
  • RHSA-2007-0894: Important: mysql security update
  • RHSA-2008-0364: Low: mysql security and bug fix update
  • RHSA-2008-0768: Moderate: mysql security, bug fix, and enhancement update
  • SA25301: MySQL Denial of Service Vulnerability and Multiple Security Issues
  • SA32222: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1018069: MySQL Lets Remote Authenticated Users Issue the RENAME TABLE Command
  • SUSE-SR:2008:003: SUSE Security Summary Report
  • USN-528-1: MySQL vulnerabilities

Platforms Affected:

  • Apple Mac OS X Server 10.5
  • Apple Mac OS X Server 10.5.1
  • Apple Mac OS X Server 10.5.2
  • Apple Mac OS X Server 10.5.3
  • Apple Mac OS X Server 10.5.4
  • Apple Mac OS X Server 10.5.5
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Debian Debian Linux 3.1
  • Debian Debian Linux 4.0
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MySQL MySQL 4.1
  • MySQL MySQL 4.1.0 Alpha
  • MySQL MySQL 4.1.0
  • MySQL MySQL 4.1.0.0
  • MySQL MySQL 4.1.1
  • MySQL MySQL 4.1.10
  • MySQL MySQL 4.1.10a
  • MySQL MySQL 4.1.11
  • 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 Alpha
  • MySQL MySQL 4.1.2
  • MySQL MySQL 4.1.20
  • MySQL MySQL 4.1.21
  • MySQL MySQL 4.1.22
  • 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.24
  • MySQL MySQL 5.0.27
  • MySQL MySQL 5.0.3
  • MySQL MySQL 5.0.3 Beta
  • MySQL MySQL 5.0.33
  • MySQL MySQL 5.0.37
  • MySQL MySQL 5.0.3a
  • MySQL MySQL 5.0.4
  • MySQL MySQL 5.0.4a
  • MySQL MySQL 5.0.5
  • MySQL MySQL 5.0.6
  • MySQL MySQL 5.0.7
  • MySQL MySQL 5.0.8
  • MySQL MySQL 5.0.9
  • MySQL MySQL 5.1.1
  • MySQL MySQL 5.1.10
  • MySQL MySQL 5.1.11
  • MySQL MySQL 5.1.12
  • MySQL MySQL 5.1.13
  • MySQL MySQL 5.1.14
  • MySQL MySQL 5.1.15
  • MySQL MySQL 5.1.16
  • MySQL MySQL 5.1.17
  • MySQL MySQL 5.1.2
  • MySQL MySQL 5.1.3
  • MySQL MySQL 5.1.4
  • MySQL MySQL 5.1.5
  • MySQL MySQL 5.1.6
  • MySQL MySQL 5.1.7
  • MySQL MySQL 5.1.8
  • MySQL MySQL 5.1.9
  • RedHat Application Stack v1 for EL AS 4
  • RedHat Application Stack v1 for EL ES 4
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client Workstation

Reported:

May 08, 2007

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.