GLSA-200809-04 : MySQL: Privilege bypass

medium Nessus Plugin ID 34093

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200809-04

Plugin Details

Severity: Medium

ID: 34093

File Name: gentoo_GLSA-200809-04.nasl

Version: 1.15

Type: local

Published: 9/5/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mysql, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/4/2008

Reference Information

CVE: CVE-2008-2079

CWE: 264

GLSA: 200809-04