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


Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



WD Green SATA HDD - 3TB picture

WD Green SATA HDD - 3TB

$59.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$74.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$27.49



Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5

Seagate Barracuda ST3000DM001 3TB 7200 RPM 64MB 6.0Gbs SATA 3.5" Internal HDD

$25.89



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$69.99



Discussions

No Discussions have been posted on this vulnerability.