You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Known Vulnerabilities in Mozilla Products (Firefox 1.0.3) > MFSA 2005-33

Mozilla Foundation Security Advisory 2005-33

Title: Javascript "lambda" replace exposes memory contents
Severity: Moderate
Reporter: Azafran/Vladimir V. Perepelitsa
Products: Firefox, Mozilla Suite

Fixed in: Firefox 1.0.3
  Mozilla Suite 1.7.7

Description

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.

The attacker cannot control what will be captured, but the data returned sometimes contains bits of websites the user has recently visited and their addresses. The data could be sifted to find the occasional valuable bits of information.

Workaround

Disable Javascript.

References