Advisory Details

December 4th, 2008

Sun Java Web Start and Applet Multiple Sandbox Bypass Vulnerabilities

ZDI-08-081
ZDI-CAN-363

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

These vulnerabilities allow remote attackers to bypass sandbox restrictions 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 first vulnerability results in a cache location and a user name information disclosure. By accessing the SI_FILEDIR property of a SingleInstanceImpl class, the location of the temporary single instance files can be parsed to discover the user name and cache location.

The second vulnerability allows applets to read any file on a victim's filesystem, outside of the restricted path of the applet. The specific flaw exists in the handling of the file: protocol assigned to an applet codebase. If the codebase points to the local filesystem, any file is then readable by the malicious applet.

The third vulnerability allows JNLP files to bypass socket restrictions. By loading a secondary JNLP with an href attribute containing a wildcard. When this object is instantiated, all hosts are eligible for socket connect and accept.

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-244988-1
DISCLOSURE TIMELINE
  • 2008-07-14 - Vulnerability reported to vendor
  • 2008-12-04 - Coordinated public release of advisory
CREDIT Peter Csepely
BACK TO ADVISORIES