Oracle Java MethodHandles dropArguments Remote Code Execution Vulnerability

2016-07-21T00:00:00
ID ZDI-16-446
Type zdi
Reporter XOR19
Modified 2016-06-22T00:00:00

Description

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.