Advisory Details

March 12th, 2008

Java Web Start tempbuff Stack Buffer Overflow Vulnerability

ZDI-08-009
ZDI-CAN-234

CVE ID CVE-2008-1188
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 ['5622']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Sun Java Web Start. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

The specific flaw exists in the useEncodingDecl() function used while checking xml based JNLP files for UTF8 characters. When a user downloads a malicious JNLP file, the data immediately preceding the opening of the xml tag is read into a static buffer. If an overly long key name in the xml header is included, a stack based buffer overflow occurs, resulting in an exploitable condition.

ADDITIONAL DETAILS Sun Microsystems has issued an update to correct this vulnerability. More details can be found at:
http://sunsolve.sun.com/search/document.do?assetkey=1-66-233323-1
DISCLOSURE TIMELINE
  • 2007-09-14 - Vulnerability reported to vendor
  • 2008-03-12 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES