MySQL < 4.1.12 / 5.0.4 Insecure Permissions

medium Nessus Plugin ID 17805

Synopsis

Arbitrary SQL commands may be run on the remote database server.

Description

The remote MySQL server is earlier than 4.1.12 / 5.0.4 and thus reportedly creates a temporary file with insecure permissions and a predictable name, which could allow a local user to run arbitrary SQL commands.

Solution

Upgrade to MySQL version 4.1.12 / 5.0.4 or later.

See Also

https://marc.info/?l=full-disclosure&m=111632686805498&w=2

Plugin Details

Severity: Medium

ID: 17805

File Name: mysql_5_0_4.nasl

Version: 1.6

Type: remote

Family: Databases

Published: 1/16/2012

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Frictionless Assessment Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 5/17/2005

Reference Information

CVE: CVE-2005-1636

BID: 13660