FreeBSD : MySQL insecure temporary file creation (mysqlbug) (2e129846-8fbb-11d8-8b29-0020ed76ef5a)

low Nessus Plugin ID 37467

Synopsis

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

Description

Shaun Colley reports that the script `mysqlbug' included with MySQL sometimes creates temporary files in an unsafe manner. As a result, an attacker may create a symlink in /tmp so that if another user invokes `mysqlbug' and quits without making any changes, an arbitrary file may be overwritten with the bug report template.

Solution

Update the affected packages.

See Also

https://marc.info/?l=bugtraq&m=108023246916294&w=2

https://bugs.mysql.com/bug.php?id=3284

http://www.nessus.org/u?279ca7a7

Plugin Details

Severity: Low

ID: 37467

File Name: freebsd_pkg_2e1298468fbb11d88b290020ed76ef5a.nasl

Version: 1.14

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.8

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 4/16/2004

Vulnerability Publication Date: 3/25/2004

Reference Information

CVE: CVE-2004-0381

BID: 9976