CVE-2008-4097 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can bypass privilege checks and access data via symlink manipulation in MyISAM table creation paths.

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-2008-4097?

CVE-2008-4097 is a medium-severity path traversal vulnerability in Oracle Mysql, published on 17 Sep 2008. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

MySQL 5.0.51a 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 associated with symlinks within pathnames for subdirectories of the MySQL home data directory, which are followed when tables are created in the future. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-2079.

Weakness: CWE-264

Which versions are affected by CVE-2008-4097?

It affects 1 product.

Products include Oracle Mysql.

How do I fix CVE-2008-4097?

Apply the vendor's patch.

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

Is CVE-2008-4097 being exploited?

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

All Oracle Mysql vulnerabilities

Sources

Also known as GHSA-rxrr-c7mj-hq68.

Is CVE-2008-4097 in your software?

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

Check your SBOMs for free