Debian DSA-483-1 : mysql - insecure temporary file creation

low Nessus Plugin ID 15320

Synopsis

The remote Debian host is missing a security-related update.

Description

Two vulnerabilities have been discovered in mysql, a common database system. Two scripts contained in the package don't create temporary files in a secure fashion. This could allow a local attacker to overwrite files with the privileges of the user invoking the MySQL server, which is often the root user. The Common Vulnerabilities and Exposures identifies the following problems :

- CAN-2004-0381 The script mysqlbug in MySQL allows local users to overwrite arbitrary files via a symlink attack.

- CAN-2004-0388

The script mysqld_multi in MySQL allows local users to overwrite arbitrary files via a symlink attack.

Solution

Upgrade the mysql, mysql-dfsg and related packages.

For the stable distribution (woody) these problems have been fixed in version 3.23.49-8.6.

See Also

http://www.debian.org/security/2004/dsa-483

Plugin Details

Severity: Low

ID: 15320

File Name: debian_DSA-483.nasl

Version: 1.26

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:mysql, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 4/14/2004

Vulnerability Publication Date: 3/24/2004

Reference Information

CVE: CVE-2004-0381, CVE-2004-0388

BID: 9976, 10142

DSA: 483