search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla privilege escalation using addSelectionListener

Vulnerability Note VU#237257

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

Overview

A privilege escalation vulnerability exists in the Mozilla addSelectionListener method. This may allow a remote attacker to execute arbitrary code.

Description

addSelectionListener

Web content can add a SelectionListener to the Selection object by using addSelectionListener method of the nsISelectionPrivate interface. This listener would be called when the user performs a "find" or "select all" command.

The problem

The notifications are created in a privileged context, which can be leveraged to execute arbitrary code. Mozilla Firefox and SeaMonkey are reported to be vulnerable.

Impact

By convincing a user to view a specially crafted HTML document (e.g., a web page, an HTML email message, or an HTML email attachment), an attacker may be able to execute arbitrary code with the privileges of the user.

Solution

Apply an update
Refer to Mozilla Foundation Security Advisory 2006-43 for fixed versions of Mozilla products.


Disable JavaScript

This vulnerability can be mitigated by disabling JavaScript.

Vendor Information

237257
 

Mozilla, Inc. Affected

Updated:  June 02, 2006

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

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

Addendum

Please refer to Mozilla Foundation Security Advisory 2006-43.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to the Mozilla Foundation Security Advisory for reporting this vulnerability, who in turn credit moz_bug_r_a4.

This document was written by Will Dormann.

Other Information

CVE IDs: CVE-2006-2777
Severity Metric: 18.36
Date Public: 2006-06-01
Date First Published: 2006-06-02
Date Last Updated: 2007-02-09 14:34 UTC
Document Revision: 17

Sponsored by CISA.