Vulnerability Note VU#398492
Mozilla Firefox may allow chrome URLs to reference remote files
OverviewMozilla products allow chrome URLs to reference remote files. This allows a remote attacker to execute code.
I. DescriptionChrome
The Mozilla user interface components outside of the content area are created using chrome. This includes toolbars, menu bars, progress bars, and window title bars. Chrome provides content, locale, and skin information for the user interface.
Chrome script
Chrome scripts have elevated privileges. Because of the extra privileges, they can perform actions that web scripts cannot. Chrome scripts also do not prompt for permission before executing potentially dangerous commands, such as creating or calling XPCOM components.
The Problem
The Mozilla foundation reports that it is possible to reference remote files using chrome URLs. If the remote file contains script, it will execute with chrome privileges.
II. ImpactA remote, unauthenticated attacker may be able to execute code on a vulnerable system with the privileges of the user who opened the affected browser or email application.
Note that web pages cannot link directly to chrome: resources, so there is no known way for this vulnerability to be triggered as the result of viewing a web page.
III. SolutionUpgrade
This issue is addressed in the 1.5.0.5 updates to Mozilla Firefox and Thunderbird, and the 1.0.3 version of Seamonkey. Refer to Mozilla Foundation Security Advisory 2006-56 for more details.
Do not Copy Untrusted Links
Do not copy or drag untrusted links that do not begin with http://, https://, or ftp://.
Disable JavaScript
Disabling JavaScript appears to prevent exploitation of this vulnerability. Instructions for disabling JavaScript can be found in the Malicious Web Scripts FAQ.
Systems Affected
References
http://www.mozilla.org/security/announce/2006/mfsa2006-56.html
https://bugzilla.mozilla.org/show_bug.cgi?id=338037
http://secunia.com/advisories/19873/
http://secunia.com/advisories/21216/
http://www.mozilla.org/xpfe/ConfigChromeSpec.html
http://www.mozilla.org/projects/security/components/sectalk/slide16.xml
http://www.cert.org/tech_tips/malicious_code_FAQ.html#mozilla1
http://www.securityfocus.com/bid/19181
Credit
This vulnerability was reported in Mozilla Foundation Security Advisory 2006-56. Mozilla credits Benjamin Smedberg for reporting this vulnerability.
This document was written by Ryan Giobbi.
Other Information
| Date Public | 07/25/2006 |
| Date First Published | 07/31/2006 04:12:06 PM |
| Date Last Updated | 02/09/2007 |
| CERT Advisory | |
| CVE Name | CVE-2006-3812 |
| US-CERT Technical Alerts | |
| Metric | 0.03 |
| Document Revision | 27 |
If you have feedback, comments, or additional information about this vulnerability, please send us
email.
|