search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#113192

Original Release Date: 2004-09-17 | Last Revised: 2004-10-26

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)

Vendor Information

113192
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

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: None
Severity Metric: 6.21
Date Public: 2004-09-14
Date First Published: 2004-09-17
Date Last Updated: 2004-10-26 15:26 UTC
Document Revision: 9

Sponsored by CISA.