Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200409-02] MySQL: Insecure temporary file creation in mysqlhotcopy


Vulnerability Assessment Details

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

Vulnerability Assessment Summary
MySQL: Insecure temporary file creation in mysqlhotcopy

Detailed Explanation for this Vulnerability Assessment
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
(mysqlhotcopy.sh), 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.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0457


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"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

Micron MT4HTF3264AY-53EB2 256MB Memory RAM PC2-4200U-444-12-ZZ x 4
$3.0
Micron MT4HTF3264AY-53EB2 256MB Memory RAM PC2-4200U-444-12-ZZ x 4 picture HP 6 GB (6x1GB) PC2-5300 SDRAM Kit DDR2 408851-B21 430450-001 405475-051 Memory
$0.99
 HP 6 GB (6x1GB) PC2-5300 SDRAM Kit DDR2 408851-B21 430450-001 405475-051 Memory pictureCorsair VENGEANCE LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15 Desktop Memory Kit...
$66.0
Corsair VENGEANCE LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15 Desktop Memory Kit... picture32GB to 2 TB USB 2.0 Flash Drive Memory Stick Storage Drive Pen Disk Keycha J2T9
$4.47
32GB to 2 TB USB 2.0 Flash Drive Memory Stick Storage Drive Pen Disk Keycha J2T9 picture


Discussions

No Discussions have been posted on this vulnerability.