Oracle MySQL Mysqlhotcopy Script Insecure Temporary File Creation

high Nessus Network Monitor Plugin ID 2129


The remote host is vulnerable to a flaw that allows attackers to retrieve sensitive files or data.


The remote host is running a version of MySQL that is older than version 3.23.49 or than 4.0.20. The version of the utility Mysqlhotcopy included in these versions of MySQL is reported to be prone to a vulnerability that may permit an attacker to overwrite arbitrary files on the database server with the privilege of the targeted user. Privilege escalation may also be possible. An attacker requires local interactive access in order to exploit this vulnerability.


Upgrade or patch according to vendor recommendations.

Plugin Details

Severity: High

ID: 2129

Family: Database

Published: 8/18/2004

Updated: 3/6/2019

Risk Information


Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C


Risk Factor: High

Base Score: 7.3

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:a:mysql:mysql:*:*:*:*:*:*:*:*

Reference Information

CVE: CVE-2004-0457, CVE-2004-0835, CVE-2004-0837, CVE-2004-0957

BID: 10969, 11357