MySQL < 4.0.24 / 4.1.10a Multiple Vulnerabilities

medium Nessus Plugin ID 17313

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The remote host is running a version of MySQL which older than version 4.0.24 or 4.1.10a. Such versions are potentially affected by multiple issues.

- MySQL uses predictable file names when creating temporary tables, which allows local users with 'CREATE TEMPORARY TABLE' privileges to overwrite arbitrary files via a symlink attack. (CVE-2005-0711)

- A flaw exists that may allow a malicious user to gain access to unauthorized privileges when an authenticated user with 'INSERT' and 'DELETE' privileges bypasses library path restrictions using 'INSERT INTO' to modify the 'mysql.func' table. (CVE-2005-0709)

- A flaw exists that may allow a mlicious user to load arbitrary libraries when an authenticated user with 'INSERT' and 'DELETE' privileges use the 'CREATE FUNCTION' command to specify and load an arbitrary custom library. (CVE-2005-0710)

Solution

Upgrade to MySQL 4.0.24, 4.1.10a, or later as this reportedly fixes the issue.

See Also

https://support.apple.com/kb/TA23465?locale=en_US&viewlocale=en_US

https://seclists.org/vulnwatch/2005/q1/81

https://seclists.org/vulnwatch/2005/q1/82

https://seclists.org/vulnwatch/2005/q1/83

Plugin Details

Severity: Medium

ID: 17313

File Name: mysql_multiple_flaws4.nasl

Version: 1.22

Type: remote

Family: Databases

Published: 3/11/2005

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/11/2005

Reference Information

CVE: CVE-2005-0709, CVE-2005-0710, CVE-2005-0711

BID: 12781