GLSA 200809-04: MySQL: Privilege bypass

Severity:normal
Title:MySQL: Privilege bypass
Date:09/04/2008
Bugs: #220399
ID:200809-04

Synopsis

A vulnerability in MySQL might allow users to bypass privileges and gain access to other databases.

Background

MySQL is a popular multi-threaded, multi-user SQL server.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-db/mysql < 5.0.60-r1 >= 5.0.60-r1 All supported architectures

Description

Sergei Golubchik reported that MySQL imposes no restrictions on the specification of "DATA DIRECTORY" or "INDEX DIRECTORY" in SQL "CREATE TABLE" statements.

Impact

An authenticated remote attacker could create MyISAM tables, specifying DATA or INDEX directories that contain future table files by other database users, or existing table files in the MySQL data directory, gaining access to those tables.

Workaround

There is no known workaround at this time.

Resolution

All MySQL users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-db/mysql-5.0.60-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200809-04.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!