CVE-2008-4098 Path traversal in n/a

Medium 4.6 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-2008-4098?

CVE-2008-4098 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, 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 before 5.0.67 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 home data directory. NOTE: this vulnerability exists because of an incomplete fix for CVE-2008-4097.

Weakness: CWE-59

Which versions are affected by CVE-2008-4098?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mysql Mysql, Oracle Mysql.

How do I fix CVE-2008-4098?

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-2008-4098 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DSA-1662-1, GHSA-cwr2-c5mc-rxv6.

Is CVE-2008-4098 in your software?

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

Check your SBOMs for free