GLSA-200804-04 : MySQL: Multiple vulnerabilities

high Nessus Plugin ID 31835

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-200804-04 (MySQL: Multiple vulnerabilities)

Multiple vulnerabilities have been reported in MySQL:
Mattias Jonsson reported that a 'RENAME TABLE' command against a table with explicit 'DATA DIRECTORY' and 'INDEX DIRECTORY' options would overwrite the file to which the symlink points (CVE-2007-5969).
Martin Friebe discovered that MySQL does not update the DEFINER value of a view when the view is altered (CVE-2007-6303).
Philip Stoev discovered that the federated engine expects the response of a remote MySQL server to contain a minimum number of columns in query replies (CVE-2007-6304).
Impact :

An authenticated remote attacker could exploit the first vulnerability to overwrite MySQL system tables and escalate privileges, or use the second vulnerability to gain privileges via an 'ALTER VIEW' statement.
Remote federated MySQL servers could cause a Denial of Service in the local MySQL server by exploiting the third vulnerability.
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.54'

See Also

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

Plugin Details

Severity: High

ID: 31835

File Name: gentoo_GLSA-200804-04.nasl

Version: 1.15

Type: local

Published: 4/11/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.1

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

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: 4/6/2008

Reference Information

CVE: CVE-2007-5969, CVE-2007-6303, CVE-2007-6304

CWE: 264

GLSA: 200804-04