Secunia Logo
Netsikker nu! 2008
 
MySQL MERGE Table Privilege Revoke Bypass
Secunia Advisory: SA21259
Release Date: 2006-08-01
Last Update: 2007-07-20
Popularity: 14,212 views

Critical:
Not critical
Impact: Security Bypass
Where: From local network
Solution Status: Vendor Patch

Software:MySQL 3.x
MySQL 4.x
MySQL 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4031


Description:
Peter Gulutzan has reported a vulnerability in MySQL, which can be exploited by malicious users to bypass certain security restrictions.

The vulnerability is caused due to a design error in the user privilege verification for MERGE tables. This can be exploited to keep access to a table via an in advance created MERGE table even after the privileges has been revoked for the table.

Solution:
MySQL 4.1.x:
Update to version 4.1.21.

MySQL 5.x:
Update to version 5.0.24 or later.

NOTE: The vulnerability has been fixed by introducing the "--skip-merge" command line option which disables the MERGE storage engine.

Provided and/or discovered by:
Peter Gulutzan

Changelog:
2006-08-10: Added CVE reference.
2007-07-20: Updated "Solution" section.

Original Advisory:
MySQL:
http://dev.mysql.com/doc/refman/4.1/en/news-4-1-21.html
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-24.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. phpBB Avatar Functions Information Disclosure and Deletion // 142 views
2. phpBB Avatar Script Insertion Vulnerability // 124 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 105 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 90 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 64 views
6. phpBB reveals user IPs // 54 views
7. Zeroboard ".htaccess" File Upload Vulnerability // 30 views
8. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 30 views
9. CA ARCserve Backup Multiple Vulnerabilities // 29 views
10. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 28 views