Advisory Details

January 16th, 2007

Sun Microsystems Java GIF File Parsing Memory Corruption Vulnerability

ZDI-07-005
ZDI-CAN-054

CVE ID CVE-2007-0243
CVSS SCORE
AFFECTED VENDORS Sun Microsystems
AFFECTED PRODUCTS Java Runtime
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 4325. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

This vulnerability allows attackers to execute arbitrary code on vulnerable installations of Sun Microsystems Java Virtual Machine (JVM). User interaction is required to exploit this vulnerability in that the target must visit a malicious website.

The specific flaw exists during the parsing of GIF image components. When the image width in an image block of a valid GIF file is set to 0, the Java runtime will allocate the specified size but subsequently copy all data to the under allocated memory chunk. The overflow results in the corruption of multiple pointers, at least one of which is later dereferenced and can therefore result in execution of arbitrary code.

VENDOR RESPONSE Sun Microsystems has issued an update to correct this vulnerability. More details can be found at:
http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102760-1
DISCLOSURE TIMELINE
  • 2006-06-16 - Vulnerability reported to vendor
  • 2007-01-16 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES