Oracle Java MethodHandles dropArguments Remote Code Execution Vulnerability

ID ZDI-16-446
Type zdi
Reporter XOR19
Modified 2016-06-22T00: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 implementation of MethodHandles' dropArguments method. Due to unsafe handling of reflection of privileged classes inside the MethodHandles class, it is possible for untrusted code to gain access to privileged methods and properties. This can result in remote code execution under the context of the current process.