MySQL: Privilege bypass

2008-09-04T00:00:00
ID GLSA-200809-04
Type gentoo
Reporter Gentoo Foundation
Modified 2008-09-04T00:00:00

Description

Background

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

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"