CVE-2004-1027 Path traversal in n/a
Remote attackers can overwrite arbitrary files via path traversal in unarj archives, requiring user extraction.
- 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-1027?
CVE-2004-1027 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 16 Nov 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
Directory traversal vulnerability in the -x (extract) command line option in unarj allows remote attackers to overwrite arbitrary files via an arj archive with filenames that contain .. (dot dot) sequences.
Which versions are affected by CVE-2004-1027?
It affects 3 products.
Products include Arjsoftware Unarj, Debian Debian Linux, Gentoo Linux.
How do I fix CVE-2004-1027?
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-1027 being exploited?
There is no known exploitation of CVE-2004-1027 in the wild and no public exploit code.
Sources
Also known as GHSA-8p77-cqww-99jh.