CVE-2005-1080 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can overwrite arbitrary files via path traversal in JAR filenames, requiring user interaction to open the malicious archive.

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-2005-1080?

CVE-2005-1080 is a medium-severity path traversal vulnerability in Sun Sdk, published on 12 Apr 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

Directory traversal vulnerability in the Java Archive Tool (Jar) utility in J2SE SDK 1.4.2 and 1.5, and OpenJDK, allows remote attackers to create or overwrite arbitrary files via a .. (dot dot) in filenames in a .jar file.

Which versions are affected by CVE-2005-1080?

It affects 1 product.

Products include Sun Sdk.

How do I fix CVE-2005-1080?

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-2005-1080 being exploited?

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

Sources

Also known as GHSA-g7vc-f4x5-69xx, UBUNTU-CVE-2005-1080.

Is CVE-2005-1080 in your software?

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

Check your SBOMs for free