MySQL < 3.23.50 / 4.0.24 / 4.1.6 / 5.0.3 Insecure Temporary File Creation

Medium Nessus Plugin ID 17838

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.2

Synopsis

Arbitrary files could be read or overwritten via the remote database server.

Description

The version of MySQL installed on the remote host is older than 3.23.50, 4.0.24, 4.1.6 or 5.0.3. As such, the mysqlaccess script included with it reportedly could be used to read or overwrite arbitrary files via a symlink attack.

Solution

Upgrade to MySQL version 3.23.50 / 4.0.24 / 4.1.6 / 5.0.3 or later.

See Also

http://lists.mysql.com/internals/20600

https://lists.mysql.com/announce/269

Plugin Details

Severity: Medium

ID: 17838

File Name: mysql_client_symlink_attack.nasl

Version: 1.5

Type: remote

Family: Databases

Published: 2012/01/18

Updated: 2018/11/15

Dependencies: 91823, 10719

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

VPR Score: 5.2

CVSS v2.0

Base Score: 4.6

Temporal Score: 3.4

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Available: false

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 2005/01/17

Reference Information

CVE: CVE-2005-0004

BID: 12277