GLSA-200809-04 : MySQL: Privilege bypass

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200809-04
(MySQL: Privilege bypass)

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200809-04.xml

Solution :

All MySQL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-db/mysql-5.0.60-r1'

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:N/AC:H/Au:S/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 34093 (gentoo_GLSA-200809-04.nasl)

Bugtraq ID:

CVE ID: CVE-2008-2079