GLSA-200809-04 : MySQL: Privilege bypass

Medium Nessus Plugin ID 34093

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 6.3

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: 2008/09/05

Updated: 2021/01/06

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 6.3

CVSS v2.0

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: 2008/09/04

Reference Information

CVE: CVE-2008-2079

GLSA: 200809-04

CWE: 264