ID CVE-2004-0457
Summary The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.
References
Vulnerable Configurations
  • cpe:2.3:a:oracle:mysql:-:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:-:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:1.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.20:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.20:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.20.32a:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.20.32a:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.26:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.26:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.27:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.27:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.28:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.28:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.29:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.29:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.30:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.30:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.22.32:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.22.32:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.0:alpha:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.0:alpha:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.5:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.5:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.20:beta:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.20:beta:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.21:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.21:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.22:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.22:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.23:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.23:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.24:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.24:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.25:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.25:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.26:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.26:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.27:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.27:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.28:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.28:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.28:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.28:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.29:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.29:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.30:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.30:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.31:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.31:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.32:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.32:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.33:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.33:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.34:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.34:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.35:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.35:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.36:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.36:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.37:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.37:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.38:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.38:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.39:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.39:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.40:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.40:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.41:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.41:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.42:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.42:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.43:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.43:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.44:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.44:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.45:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.45:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.46:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.46:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.47:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.47:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.48:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.48:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.49:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.49:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.50:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.50:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.51:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.51:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.52:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.52:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.53:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.53:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.53a:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.53a:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.54:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.54:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.54a:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.54a:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.55:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.55:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.56:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.56:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.57:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.57:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.58:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.58:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:3.23.59:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:3.23.59:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.5:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.5a:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.5a:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.6:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.7:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.7:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.7:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.8:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.8:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.8:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.8:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.9:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.9:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.9:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.9:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.10:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.10:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.11:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.11:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.11:gamma:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.11:gamma:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.12:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.12:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.13:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.13:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.14:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.14:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.15:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.15:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.16:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.16:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.17:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.17:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.18:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.18:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.19:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.19:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:mysql:4.0.20:*:*:*:*:*:*:*
CVSS
Base: 4.6 (as of 17-12-2019 - 17:11)
Impact:
Exploitability:
CWE NVD-CWE-Other
CAPEC
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:07:48.436-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
description The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.
family unix
id oval:org.mitre.oval:def:10693
status accepted
submitted 2010-07-09T03:56:16-04:00
title The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.
version 29
redhat via4
advisories
rhsa
id RHSA-2004:597
rpms
  • mysql-0:3.23.58-2.3
  • mysql-bench-0:3.23.58-2.3
  • mysql-debuginfo-0:3.23.58-2.3
  • mysql-devel-0:3.23.58-2.3
refmap via4
ciac P-018
confirm http://packages.debian.org/changelogs/pool/main/m/mysql-dfsg/mysql-dfsg_4.0.20-11/changelog
debian DSA-540
xf mysql-mysqlhotcopy-insecure-file(17030)
Last major update 17-12-2019 - 17:11
Published 28-09-2004 - 04:00
Last modified 17-12-2019 - 17:11
Back to Top