CVE-2004-1294 Path traversal in n/a
A malicious FTP server can overwrite arbitrary files on the client system via path traversal in the mget command.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2004-1294?
CVE-2004-1294 is a medium-severity path traversal vulnerability in n/a, published on 22 Dec 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The mget function in cmds.c for tnftp 20030825 allows remote FTP servers to overwrite arbitrary files via FTP responses containing file names with / (slash) characters.
Which versions are affected by CVE-2004-1294?
It affects 1 product.
Products include Luke Mewburn Tnftp.
How do I fix CVE-2004-1294?
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-2004-1294 being exploited?
There is no known exploitation of CVE-2004-1294 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2004-1294, GHSA-rg94-3rvq-gh47.