CVE-2009-4030 - Improper Link Resolution Before File Access ('Link Following')

Severity

44%

Complexity

34%

Confidentiality

106%

MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4098 and CVE-2008-2079.

MySQL 5.1.x before 5.1.41 allows local users to bypass certain privilege checks by calling CREATE TABLE on a MyISAM table with modified (1) DATA DIRECTORY or (2) INDEX DIRECTORY arguments that are originally associated with pathnames without symlinks, and that can point to tables created at a future time at which a pathname is modified to contain a symlink to a subdirectory of the MySQL data home directory, related to incorrect calculation of the mysql_unpacked_real_data_home value. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4098 and CVE-2008-2079.

CVSS 2.0 Base Score 4.4. CVSS Attack Vector: local. CVSS Attack Complexity: medium. CVSS Vector: (AV:L/AC:M/Au:N/C:P/I:P/A:P).

Overview

Type

MySQL

First reported 15 years ago

2009-11-30 17:30:00

Last updated 5 years ago

2019-12-17 20:07:00

Affected Software

MySQL 5.1.5

5.1.5

MySQL 5.1.23

5.1.23

MySQL 5.1.32

5.1.32

Oracle MySQL 5.1

5.1

Oracle MySQL 5.1.1

5.1.1

Oracle MySQL 5.1.2

5.1.2

Oracle MySQL 5.1.3

5.1.3

Oracle MySQL 5.1.4

5.1.4

Oracle MySQL 5.1.6

5.1.6

Oracle MySQL 5.1.7

5.1.7

Oracle MySQL 5.1.8

5.1.8

Oracle MySQL 5.1.9

5.1.9

Oracle MySQL 5.1.10

5.1.10

Oracle MySQL 5.1.11

5.1.11

Oracle MySQL 5.1.12

5.1.12

Oracle MySQL 5.1.13

5.1.13

Oracle MySQL 5.1.14

5.1.14

Oracle MySQL 5.1.15

5.1.15

Oracle MySQL 5.1.16

5.1.16

Oracle MySQL 5.1.17

5.1.17

Oracle MySQL 5.1.18

5.1.18

Oracle MySQL 5.1.19

5.1.19

Oracle MySQL 5.1.20

5.1.20

Oracle MySQL 5.1.21

5.1.21

Oracle MySQL 5.1.22

5.1.22

Oracle MySQL 5.1.30

5.1.30

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.