Description
Firefox 1.5.0.7 and 2.0, and Seamonkey 1.1b, allows remote attackers to cause a denial of service (crash) by creating a range object using createRange, calling selectNode on a DocType node (DOCUMENT_TYPE_NODE), then calling createContextualFragment on the range, which triggers a null dereference. NOTE: the original Bugtraq post mentioned that code execution was possible, but followup analysis has shown that it is only a null dereference.
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 14 | firefox-esr | 45.0esr-1 | — |
| Debian 13 | firefox-esr | 45.0esr-1 | — |
| Debian 12 | firefox-esr | 45.0esr-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 1
- Mozilla Firefox 1.5.0.7/2.0 - 'createRange' Remote Denial of Service EDB-2695 · dos · Oct 31, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20061101 Re: New Flaw in Firefox 2.0: DoS and possible remote code execution mailing-list
- 20061031 New Flaw in Firefox 2.0: DoS and possible remote code execution mailing-list
- 20061031 Re: New Flaw in Firefox 2.0: DoS and possible remote code execution mailing-list
- 20061030 Firefox <= 2.0 crash mailing-list
- https://bugzilla.mozilla.org/show_bug.cgi?id=358797
- firefox-createrange-dos(29916) vdb-entry
- 20061127 Re: New Flaw in Firefox 2.0: DoS and possible remote code execution mailing-list
- http://www.gotfault.net/research/advisory/gadv-firefox.txt
- 20061031 Re: New Flaw in Firefox 2.0: DoS and possible remote code execution mailing-list
- 20799 vdb-entry
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=213237