Secunia Logo
 
MySQL MyISAM Table Privilege Check Bypass
Secunia Advisory: SA30134
Release Date: 2008-05-08
Last Update: 2008-09-30
Popularity: 5,339 views

Critical:
Less critical
Impact: Security Bypass
Where: Local system
Solution Status: Vendor Workaround

Software:MySQL 4.x
MySQL 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-2079
CVE-2008-4097
CVE-2008-4098


Description:
A security issue has been reported in MySQL, which can be exploited by malicious, local users to bypass certain security restrictions.

The problem is that it is possible to bypass certain privilege checks by creating a MyISAM table with certain DATA DIRECTORY and INDEX DIRECTORY options to overwrite existing table files in the MySQL data directory.

The security issue is reported in versions prior to 4.1.24 and 5.0.60.

Solution:
The vulnerability will be fixed in 5.0.77.

Patches are available in the bzr repositories.
http://lists.mysql.com/commits/50036
http://lists.mysql.com/commits/50773

NOTE: The security issue has previously not been fixed properly.

Provided and/or discovered by:
Sergei Golubchik

Changelog:
2008-09-12: Updated "Solution" section due to information about improper fixes provided by Devin Carraway. Added link to "Original Advisory" section. Changed status to "Vendor Workaround".
2008-09-30: Added CVE reference.

Original Advisory:
MySQL:
http://bugs.mysql.com/bug.php?id=32167
http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-60.html
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-70.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. IBM AIX update for sendmail // 50 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 38 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 33 views
4. Apple iPhone / iPod touch Multiple Vulnerabilities // 29 views
5. Mozilla Firefox 3 Multiple Vulnerabilities // 25 views
6. Adobe Acrobat/Reader Multiple Vulnerabilities // 22 views
7. Checkpoint VPN-1 Information Disclosure Vulnerability // 22 views
8. Microsoft XML Core Services Multiple Vulnerabilities // 21 views
9. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 21 views
10. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 21 views