Secunia Logo
 
MySQL MyISAM Table Privilege Check Bypass
Secunia Advisory: SA30134
Release Date: 2008-05-08
Last Update: 2008-09-30
Popularity: 5,335 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. Apple iPhone / iPod touch Multiple Vulnerabilities // 34 views
2. vBulletin Visitor Messages Script Insertion Vulnerability // 29 views
3. Checkpoint VPN-1 Information Disclosure Vulnerability // 28 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 26 views
5. SemanticScuttle Cross-Site Scripting Vulnerabilities // 24 views
6. Easyedit CMS Multiple SQL Injection Vulnerabilities // 24 views
7. Fedora update for thunderbird // 23 views
8. xt:Commerce SQL Injection Vulnerability // 23 views
9. Sun Java JDK / JRE Multiple Vulnerabilities // 22 views
10. Avaya CMS Solaris "sadmind" Buffer Overflow Vulnerability // 22 views