Mozilla privilege escalation using addSelectionListener

2006-06-02T00:00:00
ID VU:237257
Type cert
Reporter CERT
Modified 2007-02-09T14:34:00

Description

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

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

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

  • <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>

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