Firefox onUnload + document.write() memory corruption vulnerability (MSIE7 null ptr)

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1053044 漏洞类型
发布时间 2007-02-28 更新时间 2007-02-28
CVE编号 CVE-2007-1094
CVE-2007-1092
CNNVD-ID N/A
漏洞平台 N/A CVSS评分 N/A
|漏洞来源
https://cxsecurity.com/issue/WLB-2007020105
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
While researching my previous report on MSIE7 browser entrapment, I
noticed that Firefox is susceptible to a pretty nasty, and apparently
easily exploitable memory corruption vulnerability. When a location
transition occurs and the structure of a document is modified from within
onUnload event handler, freed memory structures are left in inconsistent
state, possibly leading to a remote compromise.

A quick test case that crashes while trying to follow partly
user-dependent corrupted pointers near valid memory regions (can be forced
to write, too):

http://lcamtuf.coredump.cx/ietrap/testme.html

This also crashes MSIE7 with a seemingly harmless NULL pointer bug (didn't
research it - do your homework).

Firefox problem is being tracked here:
https://bugzilla.mozilla.org/show_bug.cgi?id=371321

/mz