|
|
>> Mozilla Suite and Firefox Multiple Code Execution Vulnerabilities
|
Title : Mozilla Suite and Firefox Multiple Code Execution Vulnerabilities VUPEN ID : VUPEN/ADV-2005-0361 CVE ID : CVE-2005-0989 CWE ID : CWE-
Rated as : Critical 
Remotely Exploitable : Yes Locally Exploitable : Yes Release Date : 2005-04-16
|
Nine vulnerabilities were identified in Mozilla Suite and Firefox, which may be exploited by malicious Websites to execute arbitrary commands or conduct Cross Site Scripting attacks.
- moz_bug_r_a4 reported several exploits giving an attacker the ability to install malicious code or steal data, requiring only that the user do commonplace actions like click on a link or open the context menu. The common cause in each case was privileged UI code ("chrome") being overly trusting of DOM nodes from the content window.
- The native implementations of InstallTrigger and other XPInstall-related javascript objects did not properly validate that they were called on instances of the correct type. By passing other objects, even raw numbers, the javascript interpreter would jump to the wrong place in memory.
- Sites can use the _search target to open links in the Firefox sidebar. Two missing security checks allow malicious scripts to first open a privileged page (such as about:config) and then inject script using a javascript: url. This could be used to install malicious code or steal data without user interaction.
- A malicious search plugin could run javascript in the context of the displayed page each time a search is run. This could be used to conduct Cross Site Scripting attacks.
- Firefox and the Mozilla Suite support custom "favicons" through the <LINK rel="icon"> tag. If a link tag is added to the page programmatically and a javascript: url is used, then script will run with elevated privileges and could run or install malicious software.
- A malicious script could define a setter function for a variable known to be used by a popular site, and if the user does browse to that site the malicious script will run in that page. This would allows the setter script to steal cookies or the contents of the page, or potentially perform actions on the user's behalf (such as make purchases or delete webmail) depending heavily on how the site was designed.
- When a popup is blocked the user is given the ability to open that one popup through the popup-blocking status bar icon and, in Firefox, through the infobar. If the popup URL were javascript: selecting "Show javascript:..." from the infobar or popup blocking status bar icon menus would run the javascript with elevated privileges which could be used to install malicious software.
- When a webpage requires a plugin that is not installed the user can click to launch the Plugin Finder Service (PFS) to find an appropriate plugin. If the service does not have an appropriate plugin the EMBED tag is checked for a PLUGINSPAGE attribute, and if one is found the PFS dialog will contain a "manual install" button that will load the PLUGINSPAGE url. If the PLUGINSPAGE attribute contains a javascript: url then pressing the button could launch arbitrary code capable of stealing local data or installing malicious code.
- A bug in javascript's regular expression string replacement when using an anonymous function as the replacement argument allows a malicious script to capture blocks of memory allocated to the browser. A web site could capture data and transmit it to a server without user interaction or knowledge (VUPEN/ADV-2005-0312).
Affected Products
Mozilla Firefox version 1.0.2 and prior
Mozilla Suite version 1.7.6 and prior
Netscape version 7.2 and prior
Solution
Upgrade to Firefox 1.0.3 or Mozilla Suite 1.7.7 :
http://www.mozilla.org/download.html
Upgrade to Netscape Browser version 8.0.1 :
http://browser.netscape.com/ns8/download/default.jsp
References
http://www.vupen.com/english/advisories/2005/0361 http://www.frsirt.com/english/advisories/2005/0312 https://bugzilla.mozilla.org/show_bug.cgi?id=289074 https://bugzilla.mozilla.org/show_bug.cgi?id=289083 https://bugzilla.mozilla.org/show_bug.cgi?id=289961 https://bugzilla.mozilla.org/show_bug.cgi?id=290162 https://bugzilla.mozilla.org/show_bug.cgi?id=290079 https://bugzilla.mozilla.org/show_bug.cgi?id=290037 https://bugzilla.mozilla.org/show_bug.cgi?id=290036 https://bugzilla.mozilla.org/show_bug.cgi?id=289675 https://bugzilla.mozilla.org/show_bug.cgi?id=289204 https://bugzilla.mozilla.org/show_bug.cgi?id=288556 https://bugzilla.mozilla.org/show_bug.cgi?id=289171 https://bugzilla.mozilla.org/show_bug.cgi?id=288688 http://www.mozilla.org/security/announce/mfsa2005-41.html http://www.mozilla.org/security/announce/mfsa2005-40.html http://www.mozilla.org/security/announce/mfsa2005-39.html http://www.mozilla.org/security/announce/mfsa2005-38.html http://www.mozilla.org/security/announce/mfsa2005-37.html http://www.mozilla.org/security/announce/mfsa2005-36.html http://www.mozilla.org/security/announce/mfsa2005-35.html http://www.mozilla.org/security/announce/mfsa2005-34.html http://www.mozilla.org/security/announce/mfsa2005-33.html
Credits
Vulnerabilities reported by moz_bug_r_a4, Georgi Guninski, Kohei Yoshino, Michael Krax, Doron Rosenberg, Omar Khan, Azafran Vladimir V. Perepelitsa
ChangeLog
2005-04-16 : Initial release
2005-04-21 : Netscape Affected
2005-05-20 : Updated Solution
Vulnerability Management
Subscribe to VUPEN VNS and receive real-time e-mail and SMS alerts when new advisories or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form. | |
|