ZDI-12-032 : Oracle Java Runtime Environment readMabCurveData Integer Overflow Remote Code Execution Vulnerability



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ZDI-12-032 : Oracle Java Runtime Environment readMabCurveData Integer
Overflow Remote Code Execution Vulnerability
http://www.zerodayinitiative.com/advisories/ZDI-12-032
February 22, 2012

- -- CVE ID:


- -- CVSS:
7.5, AV:N/AC:L/Au:N/C:P/I:P/A:P

- -- Affected Vendors:

Oracle



- -- Affected Products:

Oracle Java Runtime



- -- Vulnerability Details:
This vulnerability allows remote attackers to execute arbitrary code on
vulnerable installations of Oracle's Java Runtime. 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 how the application parses structures
for a specific tag descriptor with a specific ICC color profile. When
handling a field from this structure, the application will incorrectly
check for signedness and then perform an operation on it. This will then
get passed to an allocation. Immediately following this, the application
will use a different size to initialize the allocation. This can lead to
a controllable memory corruption which can be leveraged to achieve code
execution under the context of the applicaiton.

- -- Vendor Response:

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:
2011-10-21 - Vulnerability reported to vendor

2012-02-22 - Coordinated public release of advisory



- -- Credit:
This vulnerability was discovered by:

* Alin Rad Pop (binaryproof)



- -- About the Zero Day Initiative (ZDI):
Established by TippingPoint, The Zero Day Initiative (ZDI) represents
a best-of-breed model for rewarding security researchers for responsibly
disclosing discovered vulnerabilities.

Researchers interested in getting paid for their security research
through the ZDI can find more information and sign-up at:

http://www.zerodayinitiative.com

The ZDI is unique in how the acquired vulnerability information is
used. TippingPoint does not re-sell the vulnerability details or any
exploit code. Instead, upon notifying the affected product vendor,
TippingPoint provides its customers with zero day protection through
its intrusion prevention technology. Explicit details regarding the
specifics of the vulnerability are not exposed to any parties until
an official vendor patch is publicly available. Furthermore, with the
altruistic aim of helping to secure a broader user base, TippingPoint
provides this vulnerability information confidentially to security
vendors (including competitors) who have a vulnerability protection or
mitigation product.

Our vulnerability disclosure policy is available online at:

http://www.zerodayinitiative.com/advisories/disclosure_policy/

Follow the ZDI on Twitter:

http://twitter.com/thezdi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJPRUg6AAoJEFVtgMGTo1scizEH+wf11yjgHQfnwh6l3wc52nh1
DyMQnbG/ZWE4Dg766B/RXwlNLG4DaEiU97MWhoPqZOd9o/eTtiNRB9IoP+1ezYWk
37u9sGXrGfJwhiHj0hh51SILIuGvhCSgEvAmI0oziNvr5PKJUBbtcDJHskkbo2DE
2nQYKX4v1FdReKyZ9qWeVRVhrS+67In5UN44UKruYSppq7NnDrxzJYzCoHmIsVcf
tFClUlYCccG1WfTAThanbJ2zgepSHkqhFV81cfbKeVvvJzKHoZTOAgzLJ5AqvNo5
URoORJYFfftzWdOK64sxNZBHJLEZv9waS9SZA9OgZeQW6ew4MJd2pwD7Jn5PUdo=
=RKHr
-----END PGP SIGNATURE-----



Relevant Pages