Skip to content
Disclosed report CVE-2010-3775

Java security bypass from LiveConnect loaded via META Refresh "data:" URL

Gregory Fleischer Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 2.9 years
  • Disclosed after 3 months
Text
The Java security policy may be bypassed when LiveConnect script is loaded via a "data:" URL using a META Refresh.

The basic construct would appear as:

<meta http-equiv="Refresh" content="0,data:text/html,<html><body><script>alert(self.java);</script></body></html>">

This script will run with under a security policy of "moz-nullprincipal:{xxxx-xxxx-xxxx}".  It appears that the plugin logic may not be correctly accounting for this.

The severity of this issue seems highly dependent on browser, JRE version, plugin and platform.  

Tested with Apple Java (MRJ/JEP plugin):

Firefox 3.6 - Mac OS X: read files, connect sockets, execute programs
Firefox 3.5 - Mac OS X: read files, connect sockets, execute programs

Tested using Oracle/Sun JavaSE:

Firefox 3.6 - Windows - JRE 1.6: crash JVM
Firefox 3.5 - Windows - JRE 1.6: crash JVM
Firefox 3.5 - Windows - JRE 1.5: read files

Firefox 3.6 - Linux - JRE 1.6: crash JVM
Firefox 3.5 - Linux - JRE 1.6: read files
Firefox 3.5 - Linux - JRE 1.5: read files

Tested with OpenJDK: 

Firefox 3.6 - Linux - IcedTea6: no bypasses observed


Note: also tested with latest nightly (20100819) 3.6 and 3.5 builds with same results.

The original report as published on Mozilla's Bugzilla, by Gregory Fleischer. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A security bug in Security. Mozilla made it public on 13 November 2010 as CVE-2010-3775.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.