Advisory Published
Updated

REDHAT-BUG-445222

First published: Mon May 05 2008(Updated: )

MySQL 4.1.24, 5.0.60, 5.1.24, and 6.0.5 fixes an issue allowing an authenticated attacker to gain privileges to tables that will be created by some other database user in future using MyISAM storage engine, if an attacker can predict names of such tables. Attacker can create a table using DATA/INDEX DIRECTORY directives causing data and index files (.MYD/.MYI) to be created in some other directory writable by mysql server, including directories used to store table files of other users' databases. If victim later creates table with the same name, attacker's data and index files are overwritten by victim's files, but access privileges are not revoked. Attacker gains access to newly created victim's table. References: <a href="http://bugs.mysql.com/bug.php?id=32167">http://bugs.mysql.com/bug.php?id=32167</a> <a href="http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html">http://dev.mysql.com/doc/refman/4.1/en/news-4-1-24.html</a> <a href="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-60.html</a> <a href="http://dev.mysql.com/doc/refman/5.1/en/news-5-1-24.html">http://dev.mysql.com/doc/refman/5.1/en/news-5-1-24.html</a> <a href="http://dev.mysql.com/doc/refman/6.0/en/news-6-0-5.html">http://dev.mysql.com/doc/refman/6.0/en/news-6-0-5.html</a>

Affected SoftwareAffected VersionHow to fix
MySQL (MySQL-common)

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-445222?

    The severity of REDHAT-BUG-445222 is classified as critical due to the potential for privilege escalation by an authenticated attacker.

  • How do I fix REDHAT-BUG-445222?

    To fix REDHAT-BUG-445222, upgrade MySQL to versions 4.1.24, 5.0.60, 5.1.24, or 6.0.5 or later.

  • What versions of MySQL are affected by REDHAT-BUG-445222?

    The versions of MySQL affected by REDHAT-BUG-445222 include 4.1.24, 5.0.60, 5.1.24, and 6.0.5.

  • What is the impact of REDHAT-BUG-445222?

    The impact of REDHAT-BUG-445222 allows an authenticated attacker to gain privileges to tables created by other users in the future.

  • Is authentication required to exploit REDHAT-BUG-445222?

    Yes, exploitation of REDHAT-BUG-445222 requires authentication as an existing user of the database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203