Oracle MySQL Mysqlhotcopy Script Insecure Temporary File Creation

Medium 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: Medium

ID: 2129

File Name: 2129.prm

Family: Database

Published: 2004/08/18

Modified: 2016/02/05

Dependencies: 8916, 8915

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


Base Score: 7.2

Temporal Score: 6.8


Temporal Vector: CVSS3#E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Reference Information

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

BID: 10969, 11357