Oracle Java MethodHandle Sandbox Bypass Remote Code Execution Vulnerability

ID ZDI-13-079
Type zdi
Reporter Ben Murphy
Modified 2013-11-09T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Oracle Java. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the usage of MethodHandles. The issue lies in the ability to bypass restrictions enforced by restrictReceiver(). An attacker can leverage this vulnerability to execute code under the context of the current process.