MySQL Community Server 5.0 < 5.0.51 RENAME TABLE Symlink System Table Overwrite

High Nessus Plugin ID 29251


The remote database server is susceptible to a local symlink attack.


The version of MySQL Community Server installed on the remote host reportedly fails to check whether a file to which a symlink points exists when using RENAME TABLE against a table with explicit DATA DIRECTORY and INDEX DIRECTORY options. A local attacker may be able to leverage this issue to overwrite system table information by replacing the file to which the symlink points.


Upgrade to MySQL Community Server version 5.0.51 or later.

See Also,186931,186931

Plugin Details

Severity: High

ID: 29251

File Name: mysql_5_0_51.nasl

Version: $Revision: 1.15 $

Type: remote

Family: Databases

Published: 2007/12/10

Modified: 2016/05/16

Dependencies: 10719

Risk Information

Risk Factor: High


Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C

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

Vulnerability Information

CPE: cpe:/a:mysql:mysql

Required KB Items: Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Reference Information

CVE: CVE-2007-5969

BID: 26765

OSVDB: 42608

CWE: 264