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.5.0.2) > MFSA 2006-23

Mozilla Foundation Security Advisory 2006-23

Title: File stealing by changing input type
Impact: High
Date: April 13, 2006
Reporter: Claus Jörgensen
Products: Firefox, Mozilla Suite

Fixed in: Firefox 1.5.0.2
  Firefox 1.0.8
  SeaMonkey 1.0.1
  Mozilla Suite 1.7.13

Description

Claus Jörgensen reports that a text input box can be pre-filled with a filename and then turned into a file-upload control with the contents intact, allowing a malicious website the ability to steal any local file whose name they can guess.

Jesse Ruderman reports a variation, changing the type of the input control in an event handler to work around some of the initial checks.

Workaround

Upgrade to fixed version.

References