search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla Firefox fails to properly handle the "XPCNativeWrapper(window).Function(...)"

Vulnerability Note VU#911004

Original Release Date: 2006-08-01 | Last Revised: 2007-02-09

Overview

Certain Mozilla products contain a cross-site scripting vulnerability because of a vulnerability in the XPCNativeWrapper function.

Description

XPCNativeWrapper

Per Mozilla, XPCNativeWrapper is a way to wrap up an object so that it is safe to access from privileged code. It is used to allow chrome code to access DOM objects.

The Problem

An attacker can use the XPCNativeWrapper function to inject script into a browser window that may be in a different domain. This violates the Netscape same-origin policy.

Impact

By convincing a victim to view an HTML document (web page), an attacker could evaluate script in a different security domain than the one containing the attacker's document. The attacker could read or modify data in other web sites (read cookies/content, modify/create content, etc.). If the script is evaluated with chrome privileges, an attacker could execute arbitrary commands on the user's system.

Solution

Upgrade
This issue is addressed in the 1.5.0.5 updates to Mozilla Firefox and Thunderbird, and the 1.0.3 version of Seamonkey. Refer to Mozilla Foundation Security Advisory 2006-54 for more details.


Disable JavaScript

For instructions on how to disable JavaScript in Firefox, please refer to the Firefox section of the Securing Your Web Browser document. JavaScript is not enabled by default in Mozilla Thunderbird.

Vendor Information

911004
 
Affected   Unknown   Unaffected

Mozilla, Inc.

Updated:  August 01, 2006

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Refer to Mozilla Foundation Security Advisory 2006-54 for more details on this vulnerability.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

Thanks to Mozilla for reporting this vulnerability. Mozilla in turn thanks shutdown.

This document was written by Ryan Giobbi.

Other Information

CVE IDs: CVE-2006-3810
Severity Metric: 2.74
Date Public: 2006-07-25
Date First Published: 2006-08-01
Date Last Updated: 2007-02-09 14:04 UTC
Document Revision: 14

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.