You are here: Known Vulnerabilities in Mozilla Products (Firefox 126.96.36.199) > MFSA 2007-32
Mozilla Foundation Security Advisory 2007-32
Title: File input focus stealing vulnerability
Announced: October 18, 2007
Reporter: hong, Charles McAuley
Products: Firefox, SeaMonkey
Fixed in: Firefox 188.8.131.52
A user on the Sla.ckers.org forums named hong reported that a file upload control could be filled programmatically by switching page focus to the label before a file upload form control for selected keyboard events. An attacker could use this trick to steal files from the users' computer if the attacker knew the full pathnames to the desired fileis and could create a pretext that would convince the user to type long enough to produce all the necessary characters.
This is a variant on a similar problem reported by Charles McAuley and independently rediscovered by Michal Zalewski that was fixed in Firefox 184.108.40.206.