SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#237257

Mozilla privilege escalation using addSelectionListener

Overview

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

I. 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.

II. 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.

III. 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.

Systems Affected

VendorStatusDate NotifiedDate Updated
Mozilla, Inc.Vulnerable2-Jun-2006

References


http://www.mozilla.org/security/announce/2006/mfsa2006-43.html
https://bugzilla.mozilla.org/show_bug.cgi?id=336830
http://www.xulplanet.com/references/xpcomref/ifaces/nsISelectionPrivate.html
http://secunia.com/advisories/21188/
http://www.securityfocus.com/bid/18228

Credit

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

Date Public:2006-06-01
Date First Published:2006-06-02
Date Last Updated:2007-02-09
CERT Advisory: 
CVE-ID(s):CVE-2006-2777
NVD-ID(s):CVE-2006-2777
US-CERT Technical Alerts: 
Metric:18.36
Document Revision:17

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

 
Page Corner Image
Produced 2006 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader