MySQL < 5.0.88 / 5.1.42 / 5.5.0 / 6.0.14 MyISAM CREATE TABLE Privilege Check Bypass

medium Nessus Plugin ID 17812

Synopsis

The remote database server allows a local user to circumvent privileges.

Description

The version of MySQL installed on the remote host is earlier than 5.0.88 / 5.1.42 / 5.5.0 / 6.0.14 and thus reportedly allows a local user to 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. This is the same flaw as CVE-2008-2079, which was not completely fixed.

Solution

Upgrade to MySQL version 5.0.88 / 5.1.42 / 5.5.0 / 6.0.14 or later.

See Also

https://bugs.mysql.com/bug.php?id=32167?

Plugin Details

Severity: Medium

ID: 17812

File Name: mysql_6_0_14_priv_bypass.nasl

Version: 1.6

Type: remote

Family: Databases

Published: 1/16/2012

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Frictionless Assessment Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/7/2007

Reference Information

CVE: CVE-2008-4097

BID: 29106

CWE: 264