CVE-2003-1156 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks on temporary files created by unpack or RPM programs in Java.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2003-1156?

CVE-2003-1156 is a medium-severity path traversal vulnerability in Sun Jdk, published on 10 May 2005. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Java Runtime Environment (JRE) and Software Development Kit (SDK) 1.4.2 through 1.4.2_02 allows local users to overwrite arbitrary files via a symlink attack on (1) unpack.log, as created by the unpack program, or (2) .mailcap1 and .mime.types1, as created by the RPM program.

Which versions are affected by CVE-2003-1156?

It affects 2 products.

Products include Sun Jdk, Sun Jre.

How do I fix CVE-2003-1156?

No fix has been published for CVE-2003-1156 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2003-1156 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-q42h-v229-wv8h.

Is CVE-2003-1156 in your software?

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

Check your SBOMs for free