CVE-2008-7247 Path traversal in n/a
Authenticated users can bypass access restrictions and read data from arbitrary filesystem locations via symlink traversal in MySQL table creation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-7247?
CVE-2008-7247 is a medium-severity path traversal vulnerability in Mysql Mysql, published on 30 Nov 2009. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
sql/sql_table.cc in MySQL 5.0.x through 5.0.88, 5.1.x through 5.1.41, and 6.0 before 6.0.9-alpha, when the data home directory contains a symlink to a different filesystem, allows remote authenticated users to bypass intended access restrictions by calling CREATE TABLE with a (1) DATA DIRECTORY or (2) INDEX DIRECTORY argument referring to a subdirectory that requires following this symlink.
Weakness: CWE-59
Which versions are affected by CVE-2008-7247?
It affects 2 products.
Products include Mysql Mysql, Oracle Mysql.
How do I fix CVE-2008-7247?
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-7247 being exploited?
There is no known exploitation of CVE-2008-7247 in the wild and no public exploit code.
Other vulnerabilities in Mysql Mysql
Sources
Also known as GHSA-3qjw-qphv-c728.