MySQL Community Server 5.0 < 5.0.67 Multiple Vulnerabilities

high Nessus Plugin ID 34159
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 database server is affected by several issues.

Description

The version of MySQL Community Server 5.0 installed on the remote host is before 5.0.66. Such versions are reportedly affected by the following issues :

- When using a FEDERATED table, a local server could be forced to crash if the remote server returns a result with fewer columns than expected (Bug #29801).

- ALTER VIEW retains the original DEFINER value, even when altered by another user, which could allow that user to gain the access rights of the view (Bug #29908).

- A local user can circumvent privileges through creation of MyISAM tables using the 'DATA DIRECTORY' and 'INDEX DIRECTORY' options to overwrite existing table files in the application's data directory (Bug #32167).

- RENAME TABLE against a table with DATA/INDEX DIRECTORY overwrites the file to which the symlink points (Bug #32111).

- It was possible to force an error message of excessive length, which could lead to a buffer overflow (Bug #32707).

- Three vulnerabilities in yaSSL versions 1.7.5 and earlier as used in MySQL could allow an unauthenticated remote attacker to crash the server or to execute arbitrary code provided yaSSL is enabled and the server allows TCP connections (Bug #33814).

- An empty bit-string literal (b'') used in a SQL statement could result in a server crash (Bug #35658).

Solution

Upgrade to MySQL Community Server version 5.0.67.

See Also

http://dev.mysql.com/doc/refman/5.0/en/news-5-0-67.html

https://lists.mysql.com/announce/542

Plugin Details

Severity: High

ID: 34159

File Name: mysql_5_0_67.nasl

Version: 1.21

Type: remote

Family: Databases

Published: 9/11/2008

Updated: 11/15/2018

Dependencies: mysql_version.nasl, mysql_login.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:F/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Exploitable With

Core Impact

Metasploit (MySQL yaSSL SSL Hello Message Buffer Overflow)

Reference Information

CVE: CVE-2007-5969, CVE-2008-0226, CVE-2008-0227, CVE-2008-2079, CVE-2008-3963, CVE-2008-4098

BID: 26765, 27140, 29106

CWE: 59, 119, 134, 264