Description
Mozilla Firefox 1.5.0.4, 2.0.x before 2.0.0.8, Mozilla Suite 1.7.13, Mozilla SeaMonkey 1.0.2 and other versions before 1.1.5, and Netscape 8.1 and earlier allow user-assisted remote attackers to read arbitrary files by tricking a user into typing the characters of the target filename in a text box and using the OnKeyDown, OnKeyPress, and OnKeyUp Javascript keystroke events to change the focus and cause those characters to be inserted into a file upload input control, which can then upload the file when the user submits the form.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | iceape | 1.0.11~pre071022-0etch1+lenny1 | DTSA-80-1 |
| Debian 5.0 | xulrunner | 1.8.0.14~pre071019b-0lenny1 | DTSA-69-1 |
| Debian 4.0 | iceape | 1.0.11~pre071022-0etch1 | DSA-1401-1 |
| Debian 4.0 | xulrunner | 1.8.0.14~pre071019b-0etch1 | DSA-1392-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Microsoft Internet Explorer 5.5/6.0/7.0 - JavaScript Key Filtering EDB-27986 · remote · Jun 6, 2006 · verified
- Mozilla Firefox 1.x - JavaScript Key Filtering EDB-27987 · remote · Jun 6, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- DTSA-80-1 iceape - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-69-1 xulrunner - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1401-1 iceape - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1392-1 xulrunner - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20071026 rPSA-2007-0225-1 firefox mailing-list
- MDKSA-2006:145 vendor-advisory
- http://lcamtuf.coredump.cx/focusbug/
- 27414 third-party-advisory
- 20071029 FLEA-2007-0062-1 firefox mailing-list
- https://issues.rpath.com/browse/RPL-1858
- ADV-2006-2163 vdb-entry
- 20070211 Firefox focus stealing vulnerability (possibly other browsers) mailing-list
- 1059 third-party-advisory
- HPSBUX02153 vendor-advisory
- 27298 third-party-advisory
- 1018837 vdb-entry
- ADV-2007-3544 vdb-entry
- 20470 third-party-advisory
- USN-535-1 vendor-advisory
- 20472 third-party-advisory
- 20467 third-party-advisory
- ADV-2006-2160 vdb-entry
- 27383 third-party-advisory
- SUSE-SA:2007:057 vendor-advisory
- 21532 third-party-advisory
- ADV-2008-0083 vdb-entry
- 27387 third-party-advisory
- ADV-2006-2164 vdb-entry
- 18308 vdb-entry
- 27403 third-party-advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=56236
- 20070212 Re: [Full-disclosure] Firefox focus stealing vulnerability (possibly other browsers) mailing-list
- 20070211 Firefox focus stealing vulnerability (possibly other browsers) mailing-list
- ADV-2006-2162 vdb-entry
- https://bugzilla.mozilla.org/show_bug.cgi?id=290478
- http://www.mozilla.org/security/announce/2007/mfsa2007-32.html
- 20060605 file upload widgets in IE and Firefox have issues mailing-list
- http://www.thanhngan.org/fflinuxversion.html
- MDKSA-2007:202 vendor-advisory
- 27335 third-party-advisory
- FEDORA-2007-2664 vendor-advisory
- MDKSA-2006:143 vendor-advisory
- 20442 third-party-advisory
- http://www.gnucitizen.org/blog/browser-focus-rip
- http://support.novell.com/techcenter/psdb/60eb95b75c76f9fbfcc9a89f99cd8f79.html
- 201516 vendor-advisory
- 20071029 rPSA-2007-0225-2 firefox thunderbird mailing-list
- https://bugzilla.mozilla.org/show_bug.cgi?id=370092
- USN-536-1 vendor-advisory