Bug 1152049 (CVE-2014-6468) - CVE-2014-6468 OpenJDK: insufficient SharedArchiveFile checks (Hotspot, 8044269)
Summary: CVE-2014-6468 OpenJDK: insufficient SharedArchiveFile checks (Hotspot, 8044269)
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-6468
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1148726
TreeView+ depends on / blocked
 
Reported: 2014-10-13 12:12 UTC by Tomas Hoger
Modified: 2021-02-17 06:07 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-10-17 09:26:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1636 0 normal SHIPPED_LIVE Important: java-1.8.0-openjdk security update 2014-10-15 07:03:25 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.