You are currently viewing a snapshot of taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to, please file a bug.

You are here: Known Vulnerabilities in Mozilla Products (Firefox 1.5) > MFSA 2006-16

Mozilla Foundation Security Advisory 2006-16

Title: Accessing XBL compilation scope via
Impact: Critical
Date: April 13, 2006
Reporter: moz_bug_r_a4
Products: Firefox, Thunderbird, Mozilla Suite

Fixed in: Firefox 1.5
  Firefox 1.0.8
  Thunderbird 1.5
  Thunderbird 1.0.8
  SeaMonkey 1.0
  Mozilla Suite 1.7.13


moz_bug_r_a4 discovered that the compilation scope of privileged built-in XBL bindings was not fully protected from web content and could be accessed by calling and valueOf.apply() on a method of that binding. This could then be used to compile and run attacker-supplied JavaScript, giving it the privileges of the binding which would allow an attacker to install malware such as viruses and password sniffers.

shutdown reported an alternate way to get to XBL compilation scope by inserting an XBL method into the DOM's document.body prototype chain.

Thunderbird shares the JavaScript engine with Firefox and could be vulnerable if JavaScript were to be enabled in mail. This is not the default setting and we strongly discourage users from running JavaScript in mail.


Disable JavaScript until you can upgrade to a fixed version.


Exploit code and details embargoed during the active update period.