FreeBSD : mysql-server -- insecure temporary file creation (eeae6cce-d05c-11d9-9aed-000e0c2e438a)

medium Nessus Plugin ID 19160

Synopsis

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

Description

A Zataz advisory reports that MySQL contains a security flaw which could allow a malicious local user to inject arbitrary SQL commands during the initial database creation process.

The problem lies in the mysql_install_db script which creates temporary files based on the PID used by the script.

Solution

Update the affected packages.

See Also

http://www.zataz.net/adviso/mysql-05172005.txt

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

Plugin Details

Severity: Medium

ID: 19160

File Name: freebsd_pkg_eeae6cced05c11d99aed000e0c2e438a.nasl

Version: 1.16

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 4

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:mysql-server, 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: 7/9/2005

Vulnerability Publication Date: 5/7/2005

Reference Information

CVE: CVE-2005-1636

BID: 13660