GLSA-200409-02 : MySQL: Insecure temporary file creation in mysqlhotcopy

This script is Copyright (C) 2004-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200409-02
(MySQL: Insecure temporary file creation in mysqlhotcopy)

Jeroen van Wolffelaar discovered that the MySQL database hot copy utility
(, when using the scp method, uses temporary files with
predictable names. A malicious local user with write access to the /tmp
directory could create a symbolic link pointing to a file, which may then
be overwritten. In cases where mysqlhotcopy is run as root, a malicious
user could create a symlink to a critical file such as /etc/passwd and
cause it to be overwritten.

Impact :

A local attacker could use this vulnerability to destroy other users' data
or corrupt and destroy system files, possibly leading to a denial of
service condition.

Workaround :

There is no known workaround at this time.

See also :

Solution :

All MySQL users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=dev-db/mysql-4.0.20-r1'
# emerge '>=dev-db/mysql-4.0.20-r1'

Risk factor :

Medium / CVSS Base Score : 4.6

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14649 (gentoo_GLSA-200409-02.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0457

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now