CVE-2014-1876 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks on temporary logs in Java unpack200, requiring local access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-1876?
CVE-2014-1876 is a medium-severity path traversal vulnerability in Oracle Openjdk, published on 10 Feb 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The unpacker::redirect_stdio function in unpack.cpp in unpack200 in OpenJDK 6, 7, and 8; Oracle Java SE 5.0u61, 6u71, 7u51, and 8; JRockit R27.8.1 and R28.3.1; and Java SE Embedded 7u51 does not securely create temporary files when a log file cannot be opened, which allows local users to overwrite arbitrary files via a symlink attack on /tmp/unpack.log.
Weakness: CWE-59
Which versions are affected by CVE-2014-1876?
It affects 1 product.
Products include Oracle Openjdk.
How do I fix CVE-2014-1876?
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-2014-1876 being exploited?
There is no known exploitation of CVE-2014-1876 in the wild and no public exploit code.
Other vulnerabilities in Oracle Openjdk
Sources
Also known as GHSA-97jm-5rh5-84f8, UBUNTU-CVE-2014-1876.