FreeBSD : mysql -- mysqlhotcopy insecure temporary file creation (0c4d5973-f2ab-11d8-9837-000c41e2cdad)

medium Nessus Plugin ID 37724

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

According to Christian Hammers :

[mysqlhotcopy created] temporary files in /tmp which had predictable filenames and such could be used for a tempfile run attack.

Jeroen van Wolffelaar is credited with discovering the issue.

Solution

Update the affected packages.

See Also

https://lists.mysql.com/internals/15185

http://www.nessus.org/u?dd2b0074

Plugin Details

Severity: Medium

ID: 37724

File Name: freebsd_pkg_0c4d5973f2ab11d89837000c41e2cdad.nasl

Version: 1.13

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mysql-scripts, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 8/22/2004

Vulnerability Publication Date: 8/18/2004

Reference Information

CVE: CVE-2004-0457

DSA: 540