ID CVE-2014-1876
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:oracle:openjdk:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:openjdk:1.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:openjdk:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:openjdk:1.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:openjdk:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:oracle:openjdk:1.8.0:*:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 05-01-2018 - 02:29)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2014:0413
  • rhsa
    id RHSA-2014:0414
  • rhsa
    id RHSA-2014:0675
  • rhsa
    id RHSA-2014:0685
rpms
  • java-1.7.0-openjdk-1:1.7.0.55-2.4.7.1.el6_5
  • java-1.7.0-openjdk-demo-1:1.7.0.55-2.4.7.1.el6_5
  • java-1.7.0-openjdk-devel-1:1.7.0.55-2.4.7.1.el6_5
  • java-1.7.0-openjdk-javadoc-1:1.7.0.55-2.4.7.1.el6_5
  • java-1.7.0-openjdk-src-1:1.7.0.55-2.4.7.1.el6_5
  • java-1.7.0-openjdk-1:1.7.0.55-2.4.7.1.el5_10
  • java-1.7.0-openjdk-demo-1:1.7.0.55-2.4.7.1.el5_10
  • java-1.7.0-openjdk-devel-1:1.7.0.55-2.4.7.1.el5_10
  • java-1.7.0-openjdk-javadoc-1:1.7.0.55-2.4.7.1.el5_10
  • java-1.7.0-openjdk-src-1:1.7.0.55-2.4.7.1.el5_10
  • java-1.6.0-openjdk-1:1.6.0.0-5.1.13.3.el5_10
  • java-1.6.0-openjdk-demo-1:1.6.0.0-5.1.13.3.el5_10
  • java-1.6.0-openjdk-devel-1:1.6.0.0-5.1.13.3.el5_10
  • java-1.6.0-openjdk-javadoc-1:1.6.0.0-5.1.13.3.el5_10
  • java-1.6.0-openjdk-src-1:1.6.0.0-5.1.13.3.el5_10
  • java-1.6.0-openjdk-1:1.6.0.0-5.1.13.3.el6_5
  • java-1.6.0-openjdk-demo-1:1.6.0.0-5.1.13.3.el6_5
  • java-1.6.0-openjdk-devel-1:1.6.0.0-5.1.13.3.el6_5
  • java-1.6.0-openjdk-javadoc-1:1.6.0.0-5.1.13.3.el6_5
  • java-1.6.0-openjdk-src-1:1.6.0.0-5.1.13.3.el6_5
  • java-1.7.0-openjdk-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-accessibility-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-demo-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-devel-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-headless-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-javadoc-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.7.0-openjdk-src-1:1.7.0.55-2.4.7.2.el7_0
  • java-1.6.0-openjdk-1:1.6.0.0-6.1.13.3.el7_0
  • java-1.6.0-openjdk-demo-1:1.6.0.0-6.1.13.3.el7_0
  • java-1.6.0-openjdk-devel-1:1.6.0.0-6.1.13.3.el7_0
  • java-1.6.0-openjdk-javadoc-1:1.6.0.0-6.1.13.3.el7_0
  • java-1.6.0-openjdk-src-1:1.6.0.0-6.1.13.3.el7_0
refmap via4
bid 65568
confirm
debian DSA-2912
gentoo GLSA-201406-32
hp
  • HPSBUX03091
  • HPSBUX03092
  • SSRT101667
  • SSRT101668
misc
mlist
  • [oss-security] 20140203 CVE request and heads-up on insecure temp file handling in unpack200 (OpenJDK, Oracle Java)
  • [oss-security] 20140207 Re: CVE request and heads-up on insecure temp file handling in unpack200 (OpenJDK, Oracle Java)
osvdb 102808
secunia
  • 58415
  • 59058
ubuntu
  • USN-2187-1
  • USN-2191-1
Last major update 05-01-2018 - 02:29
Published 10-02-2014 - 23:55
Back to Top