CVE-2010-2008 Path traversal in n/a

Low 3.5 Published Updated

Authenticated users with ALTER DATABASE privileges can cause server crashes and data loss via path traversal in MySQL.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2010-2008?

CVE-2010-2008 is a low-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 13 Jul 2010. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

MySQL before 5.1.48 allows remote authenticated users with alter database privileges to cause a denial of service (server crash and database loss) via an ALTER DATABASE command with a #mysql50# string followed by a . (dot), .. (dot dot), ../ (dot dot slash) or similar sequence, and an UPGRADE DATA DIRECTORY NAME command, which causes MySQL to move certain directories to the server data directory.

Weakness: CWE-77

Which versions are affected by CVE-2010-2008?

It affects 3 products.

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Oracle Mysql.

How do I fix CVE-2010-2008?

No fix has been published for CVE-2010-2008 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2010-2008 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-2008 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-x8g4-4q7f-5fwx.

Is CVE-2010-2008 in your software?

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

Check your SBOMs for free