GLSA-200809-04 : MySQL: Privilege bypass

medium Nessus Plugin ID 34093
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Vector: 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

GLSA: 200809-04

CWE: 264