CVE-2009-4030 Path traversal in n/a

Medium 4.4 Published Updated

Local attackers can bypass privilege checks via symlink manipulation in MyISAM table creation, potentially accessing unauthorized data or escalating privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2009-4030?

CVE-2009-4030 is a medium-severity path traversal vulnerability in Mysql Mysql, published on 30 Nov 2009. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-59

Which versions are affected by CVE-2009-4030?

It affects 2 products.

Products include Mysql Mysql, Oracle Mysql.

How do I fix CVE-2009-4030?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2009-4030 being exploited?

There is no known exploitation of CVE-2009-4030 in the wild and no public exploit code.

All Mysql Mysql vulnerabilities

Sources

Also known as GHSA-q8q6-rcmj-g45q.

Is CVE-2009-4030 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free