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.
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.