Vulnerability Note VU#113192

Mozilla allows signed scripts calling "enablePrivilege" to change contents of a "grant" dialog

Original Release date: 17 Sep 2004 | Last revised: 26 Oct 2004

Overview

A vulnerability in the way Mozilla and its derived programs display dialogs in some circumstances could allow a remote attacker to install and run software on a vulnerable system.

Description

The Mozilla web browser and related Mozilla products support the ability to run signed scripts supplied in HTML email or webpages. A signed script can request expanded privileges that give it access to restricted information and abilities by using the enablePrivilege method. A deficiency in the way that these products create dialog boxes via enablePrivilege allows a malicious script to supply a string including spaces and normal text for the dialog box. A malicious signed script requesting enhanced abilities could construct the request in a way that possibly fooled the user into thinking the privilege requested was inconsequential while actually obtaining explicit permission to run and install software. The user would still be required to explicitly click "Ok" in the grant dialog for exploitation of this issue to be successful.

Impact

By convincing a victim to accept a signed script, a remote attacker may be able to install and run software with the privileges of the user running an affected program.

Solution

Upgrade to a fixed version of the affected software

The Mozilla Project has released new versions of the affected software that include patches for this vulnerability. Please see the Systems Affected section of this document for more information.

Workarounds


Users who are unable to upgrade to a patched version of the software are encouraged to apply the following workarounds:

  • Disable Javascript
  • Never grant enhanced abilities of any kind to untrusted web pages (this workaround comes from from the Mozilla project advisory about this issue)

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
ConectivaAffected-26 Oct 2004
GentooAffected-26 Oct 2004
MozillaAffected-17 Sep 2004
SuSE Inc.Affected-26 Oct 2004
AOL Time WarnerUnknown-20 Sep 2004
NETscape Communications CorporationUnknown-20 Sep 2004
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

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

References

Credit

Information about this issue was originally published by the Mozilla Project. The Mozilla Project, in turn, credits Jesse Ruderman with the discovery and reporting of this issue

This document was written by Chad R Dougherty.

Other Information

  • CVE IDs: Unknown
  • Date Public: 14 Sep 2004
  • Date First Published: 17 Sep 2004
  • Date Last Updated: 26 Oct 2004
  • Severity Metric: 6.21
  • Document Revision: 8

Feedback

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