Advisory Details

April 9th, 2012

Oracle Java Runtime readMabCurveData nTblSize Remote Code Execution Vulnerability

ZDI-12-060
ZDI-CAN-1496

CVE ID CVE-2012-0498
CVSS SCORE 7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P
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 cmm.dll. While parsing multi-function a to b curve data the size of an allocation is calculated based on user supplied data. It is possible to cause an integer wrap on the nTblSize variable. This variable is later used to allocate an heap buffer which will be smaller than necessary resulting in heap memory corruption. This can lead to remote code execution under the context of the current user.

ADDITIONAL DETAILS Oracle has issued an update to correct this vulnerability. More details can be found at:
http://www.oracle.com/technetwork/topics/security/javacpufeb2012-366318.html
DISCLOSURE TIMELINE
  • 2012-03-14 - Vulnerability reported to vendor
  • 2012-04-09 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES