CVE-2004-1487 Path traversal in n/a

Medium 5.0 Published Updated

A remote malicious web server can overwrite local files via a crafted redirection URL that bypasses path traversal filters in wget.

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-1487?

CVE-2004-1487 is a medium-severity path traversal vulnerability in n/a, published on 15 Feb 2005. 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

wget 1.8.x and 1.9.x allows a remote malicious web server to overwrite certain files via a redirection URL containing a ".." that resolves to the IP address of the malicious server, which bypasses wget's filtering for ".." sequences.

Which versions are affected by CVE-2004-1487?

It affects 1 product.

Products include Gnu Wget.

How do I fix CVE-2004-1487?

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-1487 being exploited?

There is no known exploitation of CVE-2004-1487 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2004-1487, GHSA-wh4v-xm5m-9jfg.

Is CVE-2004-1487 in your software?

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

Check your SBOMs for free