Mandrake Linux Security Advisory : MySQL (MDKSA-2005:060)

high Nessus Plugin ID 17601

Synopsis

The remote Mandrake Linux host is missing one or more security updates.

Description

A number of vulnerabilities were discovered by Stefano Di Paola in the MySQL server :

If an authenticated user had INSERT privileges on the 'mysql' database, the CREATE FUNCTION command allowed that user to use libc functions to execute arbitrary code with the privileges of the user running the database server (mysql) (CVE-2005-0709).

If an authenticated user had INSERT privileges on the 'mysql' database, it was possible to load a library located in an arbitrary directory by using INSERT INTO mysql.func instead of CREATE FUNCTION.
This also would allow the user to execute arbitrary code with the privileges of the user running the database server (CVE-2005-0710).

Finally, temporary files belonging to tables created with CREATE TEMPORARY TABLE were handled in an insecure manner, allowing any local user to overwrite arbitrary files with the privileges of the database server (CVE-2005-0711).

The updated packages have been patched to correct these issues.

Solution

Update the affected packages.

Plugin Details

Severity: High

ID: 17601

File Name: mandrake_MDKSA-2005-060.nasl

Version: 1.18

Type: local

Published: 3/23/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:libmysql12-devel, p-cpe:/a:mandriva:linux:mysql-max, cpe:/o:mandrakesoft:mandrake_linux:10.0, p-cpe:/a:mandriva:linux:mysql-client, p-cpe:/a:mandriva:linux:lib64mysql12, p-cpe:/a:mandriva:linux:lib64mysql12-devel, cpe:/o:mandrakesoft:mandrake_linux:10.1, p-cpe:/a:mandriva:linux:mysql-bench, p-cpe:/a:mandriva:linux:mysql, p-cpe:/a:mandriva:linux:libmysql12, p-cpe:/a:mandriva:linux:mysql-common

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 3/21/2005

Reference Information

CVE: CVE-2001-0775, CVE-2005-0638, CVE-2005-0639, CVE-2005-0709, CVE-2005-0710, CVE-2005-0711

MDKSA: 2005:060