Advisory Details

May 10th, 2013

Oracle Java setICMpixels Remote Code Execution Vulnerability

ZDI-13-073
ZDI-CAN-1716

CVE ID CVE-2013-2420
CVSS SCORE 10, (AV:N/AC:L/Au:N/C:C/I:C/A:C)
AFFECTED VENDORS Oracle
AFFECTED PRODUCTS Java Runtime
VULNERABILITY DETAILS


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 sun.awt.image.ImageRepresentation.setICMpixels' native function. The issue lies in the handling of the scanlineStride argument, which is not properly validated before being used. By manipulating the function's arguments an attacker can force an integer overflow to occur before indexing into an array. An attacker can leverage this vulnerability to execute code under the context of the current process.

ADDITIONAL DETAILS Oracle has issued an update to correct this vulnerability. More details can be found at:
http://www.oracle.com/technetwork/topics/security/javacpuapr2013-1928497.html
DISCLOSURE TIMELINE
  • 2013-02-01 - Vulnerability reported to vendor
  • 2013-05-10 - Coordinated public release of advisory
CREDIT Vitaliy Toropov
BACK TO ADVISORIES