MySQL < 4.0.24 / 4.1.10a Multiple Vulnerabilities

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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)

See also :

http://support.apple.com/kb/TA23465?viewlocale=en_US
http://archives.neohapsis.com/archives/vulnwatch/2005-q1/0082.html
http://archives.neohapsis.com/archives/vulnwatch/2005-q1/0083.html
http://archives.neohapsis.com/archives/vulnwatch/2005-q1/0084.html

Solution :

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

Risk factor :

Medium / CVSS Base Score : 4.6
(CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 3.8
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 17313 ()

Bugtraq ID: 12781

CVE ID: CVE-2005-0709
CVE-2005-0710
CVE-2005-0711