MySQL MyISAM security bypass
| mysql-myisam-security-bypass (42267) |
Description:
MySQL could allow a local attacker to bypass security restrictions. By creating a MyISAM table modified with DATA DIRECTORY and INDEX DIRECTORY arguments, a local attacker could bypass security checks and overwrite existing table files and gain unauthorized access to future tables in the MySQL directory.
*CVSS:
| Base Score: | 4.6 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.4 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Bypass Security
Remedy:
For MySQL 4.1:
Upgrade to the latest version of MySQL (4.1.24 or later), available from the MySQL Web site. See References.
For MySQL 5.0:
Upgrade to the latest version of MySQL (5.0.60 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 Security Update 2009-005.
- Apple Web site: About Security Update 2008-007 .
- MySQL Bug #32167: another privilege bypass with DATA/INDEX DIRECTORY.
- MySQL Change Log, 01 March 2008: B.1.1. Changes in MySQL 4.1.24.
- MySQL Release Notes, 28 April 2008: C.1.2. Release Notes for MySQL Enterprise 5.0.60 [MRU] .
- MySQL Web site: MySQL Downloads.
- ASA-2008-311: Red Hat Application Stack v1.3 security and enhancement update (RHSA-2008-0510)
- ASA-2008-327: mysql security update (RHSA-2008-0768)
- BID-29106: MySQL MyISAM Table Privileges Secuity Bypass Vulnerability
- BID-31681: RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
- CVE-2008-2079: MySQL 4.1.x before 4.1.24, 5.0.x before 5.0.60, 5.1.x before 5.1.24, and 6.0.x before 6.0.5 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are within the MySQL home data directory, which can point to tables that are created in the future.
- DSA-1608: mysql-dfsg-5.0 -- authorization bypass
- GLSA-200809-04: MySQL: Privilege bypass
- MDVSA-2008:149: Updated mysql packages fix vulnerabilities
- MDVSA-2008:150: Updated mysql packages fix vulnerabilities
- MDVSA-2009:094: mysql
- MDVSA-2010:011: mysql
- MDVSA-2010:012: mysql
- RHSA-2008-0505: Moderate: Red Hat Application Stack v2.1 security and enhancement update
- RHSA-2008-0510: Moderate: Red Hat Application Stack v1.3 security and enhancement update
- RHSA-2008-0768: Moderate: mysql security, bug fix, and enhancement update
- RHSA-2009-1289: Moderate: mysql security and bug fix update
- SA30134: MySQL MyISAM Table Privilege Check Bypass
- SA32222: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA36701: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1019995: MySQL MyISAM Options Let Local Users Overwrite Table Files
- SUSE-SA:2008:041: openwsman
- SUSE-SR:2008:017: SUSE Security Summary Report
- USN-671-1: MySQL vulnerabilities
- VUPEN/ADV-2008-1472: MySQL MyISAM Tables Privilege Restrictions Bypass Vulnerability
- VUPEN/ADV-2008-2780: Apple Mac OS X Code Execution and Security Bypass 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
- Apple Mac OS X Server 10.5.8
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 7.10
- Canonical Ubuntu 8.04 LTS
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- Mandriva Enterprise Server 5
- Mandriva Enterprise Server 5 X86_64
- Mandriva Linux 2009.0 X86_64
- Mandriva Linux 2009.0
- Mandriva Linux 2009.1
- Mandriva Linux 2009.1 X86_64
- Mandriva Linux 2010
- Mandriva Linux 2010 X86_64
- MySQL MySQL 4.1
- MySQL MySQL 5.0
- MySQL MySQL 5.1
- MySQL MySQL 6.0.0
- Novell OpenSUSE 10.3
- Novell OpenSUSE 11.0
- RedHat Application Stack v1 for EL AS 4
- RedHat Application Stack v1 for EL ES 4
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 5 Client Workstation
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5
- RedHat RHEL Application Stack 2
Reported:
May 06, 2008
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 xforce@iss.net
* 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.
