Vulnerability Note VU#237257
Mozilla privilege escalation using addSelectionListener
OverviewA privilege escalation vulnerability exists in the Mozilla addSelectionListener method. This may allow a remote attacker to execute arbitrary code.
I. DescriptionaddSelectionListener
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. ImpactBy 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. SolutionApply 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
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 | 06/01/2006 |
| Date First Published | 06/02/2006 10:50:29 AM |
| Date Last Updated | 02/09/2007 |
| CERT Advisory | |
| CVE Name | 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.
|