CVE-2004-0457 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks in mysqlhotcopy when using scp, potentially leading to privilege escalation.
- 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-2004-0457?
CVE-2004-0457 is a medium-severity path traversal vulnerability in Oracle Mysql, published on 19 Aug 2004. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The mysqlhotcopy script in mysql 4.0.20 and earlier, when using the scp method from the mysql-server package, allows local users to overwrite arbitrary files via a symlink attack on temporary files.
Which versions are affected by CVE-2004-0457?
It affects 1 product.
Products include Oracle Mysql.
How do I fix CVE-2004-0457?
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-2004-0457 being exploited?
There is no known exploitation of CVE-2004-0457 in the wild and no public exploit code.
Other vulnerabilities in Oracle Mysql
Sources
Also known as CVE-2004-0973, DSA-540, GHSA-8mmc-rxvx-8vhr.