Overview
Mozilla allows websites to disable various browser status elements. This allows websites to create spoofed dialogs using XUL.
Description
Certain Mozilla web browser status elements, such as the address bar, status bar, and navigation controls, can be disabled remotely by web sites using JavaScript. Consequently, attackers can design malicious web sites that disable these native elements and, using XUL, recreate pages that look like native Mozilla dialogs and windows. (XUL is Mozilla's XML-based user interface. It allows for the development of cross-platform applications.) |
Impact
An attacker could convince a user that they were viewing a native Mozilla dialog, when in fact they are visiting a page created by the attacker. The attacker could use additional social engineering techniques to trick the victim into disclosing sensitive information such as credit card numbers, account numbers, and passwords. The attacker could also spoof pop-up windows that do not display the address bar. |
Solution
Disable the ability to hide status items By performing the following steps, it is possible to prevent JavaScript from disabling status elements. This will make XUL-created pages appear distinct from native Mozilla dialogs.
dom.disable_window_open_feature.close dom.disable_window_open_feature.toolbar dom.disable_window_open_feature.location dom.disable_window_open_feature.directories dom.disable_window_open_feature.personalbar dom.disable_window_open_feature.menubar dom.disable_window_open_feature.scrollbars dom.disable_window_open_feature.resizable dom.disable_window_open_feature.minimizable dom.disable_window_open_feature.status These preferences can also be set via the user.js file. |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
Acknowledgements
This vulnerability was reported by David Ahmad. The workaround was provided by Asa Dotzler.
This document was written by Will Dormann.
Other Information
CVE IDs: | CVE-2004-0764 |
Severity Metric: | 1.04 |
Date Public: | 2004-07-30 |
Date First Published: | 2004-12-17 |
Date Last Updated: | 2004-12-22 15:05 UTC |
Document Revision: | 18 |