Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Web Browser)  >   Mozilla Firefox Vendors:
Mozilla Firefox JavaScript Bugs Let Remote Users Spoof Prompt Dialogs
SecurityTracker Alert ID:  1023287
SecurityTracker URL:
CVE Reference:   CVE-2009-4129, CVE-2009-4130   (Links to External Site)
Date:  Dec 8 2009
Impact:   Modification of user information

Description:   Two vulnerabilities were reported in Mozilla Firefox. A remote user can spoof dialog prompts.

A remote user can create specially crafted HTML that, when loaded by the target user, will exploit a race condition in the browser and load a URL in one domain and then load JavaScript in another domain to issue a dialog prompt [CVE-2009-4129]. The browser will display the URL of the original domain and the dialog prompt of the second domain.

A remote user can create HTML on a specially crafted domain name that, when loaded by the target user, will exploit a flaw in the MakeScriptDialogTitle() function to spoof the host name display in the script dialog title [CVE-2009-4130].

Topsec reported these vulnerabilities.

Impact:   A remote user can spoof dialog prompts.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  Mozilla Firefox JavaScript Prompt Spoofing Weakness

There exist two seperate security issues in Mozilla Firefox concerning 
JavaScript prompts appearing from domain which is not the true origin. 
The first is about spawning JavaScript prompted message over web page of 
another domain, so in effect, the address bar and the browser content 
are from one domain, but the prompted JavaScript message is generated by 
script from another different domain. This is resulted from a race 
condition scenario, in which the browser is first navigated to URL of 
another domain, then before it's loaded, immediately launch JavaScript 
message prompting, so JavaScript message is displayed over a web page 
other than its origin web page. The issue here only affects Firefox, and 
doesn't seem to affect Internet Explorer and Google Chrome. This is 
CVE-2009-4129. The second is regarding the function named 
"MakeScriptDialogTitle"(in file "nsGlobalWindow.cpp" of Firefox source 
code), responsible for "Script Dialog Title", which is designed to show 
"host". The "MakeScriptDialogTitle" function removes usernames and 
passwords from URL, with a purpose of "spoof prevention", but it's not 
enough, because script dialog has limited and predictable width, so only 
the prefix will be displayed if domain name is long. This is 
CVE-2009-4130. Topsec has the credit.


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC