Bug 1152049 (CVE-2014-6468)

Summary: CVE-2014-6468 OpenJDK: insufficient SharedArchiveFile checks (Hotspot, 8044269)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dbhole, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was discovered that the Hotspot component in OpenJDK failed to properly handle malformed Shared Archive files. A local attacker able to modify a Shared Archive file used by a virtual machine of a different user could possibly use this flaw to escalate their privileges.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 09:26:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1148726    

Description Tomas Hoger 2014-10-13 12:12:39 UTC
It was discovered that the Hotspot component in OpenJDK failed to properly check the format of a loaded SharedArchiveFile.  If a JVM was instructed to load untrusted SharedArchiveFile, it could cause JVM to execute arbitrary code.

OpenJDK versions 6 and 7 only load shared archive that is distributed with JDK and the file path is hard-coded in JVM.  OpenJDK 8 allows alternate shared archive file name to be specified using the -XX:SharedArchiveFile= command line option.

Comment 2 Tomas Hoger 2014-10-14 20:15:08 UTC
Public now via Oracle Critical Patch Update - October 2014.  Fixed in Oracle Java SE 8u25.

External References:

http://www.oracle.com/technetwork/topics/security/cpuoct2014-1972960.html#AppendixJAVA

Comment 3 errata-xmlrpc 2014-10-15 03:03:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1636 https://rhn.redhat.com/errata/RHSA-2014-1636.html

Comment 4 Martin Prpič 2014-10-15 09:40:16 UTC
IssueDescription:

It was discovered that the Hotspot component in OpenJDK failed to properly handle malformed Shared Archive files. A local attacker able to modify a Shared Archive file used by a virtual machine of a different user could possibly use this flaw to escalate their privileges.

Comment 6 Tomas Hoger 2014-11-05 09:26:06 UTC
The Oracle October 2014 CPU was updated to use the following note for this issue:

  Applies to client and server deployment of Java. This vulnerability requires
  local access to the victim environment in order to plant the affected jar
  file. Once the affected jar file was planted, this vulnerability can be
  triggered through sandboxed Java Web Start applications, sandboxed Java
  applets, and launching the affected application locally. It can also be
  triggered by supplying data to APIs in the specified component without using
  sandboxed Java Web Start applications or sandboxed Java applets, such as
  through a web service.