SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#393921

Mozilla Firefox fails to properly handle JavaScript onUnload events

Overview

Mozilla Firefox does not properly handle JavaScript onUnload events. This vulnerability may lead to memory corruption that could allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.

I. Description

The JavaScript onUnload event is executed when the browser exits a web page. An event handler can be installed via JavaScript to trap and process this event.

Mozilla Firefox fails to properly handle JavaScript onUnload events. Specifically, Firefox may not correctly handle freed data structures modified in the onUnload event handler, which could cause memory corruption.

II. Impact

By convincing a user to view a specially crafted HTML document (e.g., a web page or an HTML email message or attachment), an attacker may be able to execute arbitrary code with the privileges of the user.

III. Solution

Upgrade

Firefox has addressed this issue in Firefox version 2.0.0.2 as well as Firefox 1.5.0.10. See Mozilla Foundation Security Advisory 2007-08 for more information

Disable JavaScript

Disabling JavaScript will prevent exploitation of this vulnerability. For instructions on disabling JavaScript in Mozilla Firefox, refer to the Mozilla Firefox section the Securing Your Web Browser document.

Systems Affected

VendorStatusDate NotifiedDate Updated
MozillaVulnerable26-Feb-2007

References

http://www.us-cert.gov/reading_room/securing_browser/#Mozilla_Firefox
http://www.mozilla.org/security/announce/2007/mfsa2007-08.html
https://bugzilla.mozilla.org/show_bug.cgi?id=371321
http://secunia.com/advisories/24333/
http://secunia.com/advisories/24384/
http://secunia.com/advisories/24432/

Credit

This vulnerability was publicly disclosed by Michal Zalewski.

This document was written by Jeff Gennari.

Other Information

Date Public:2007-02-22
Date First Published:2007-02-23
Date Last Updated:2007-03-07
CERT Advisory: 
CVE-ID(s):CVE-2007-1092
NVD-ID(s):CVE-2007-1092
US-CERT Technical Alerts: 
Metric:18.36
Document Revision:27

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader