Re: [Full-disclosure] MSIE (mshtml.dll) OBJECT tag vulnerability
- From: <ipatches@xxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 16:18:08 -0500
Perhaps not surprisingly, there appears to be a vulnerability inhow
Microsoft Internet Explorer handles (or fails to handle) certainvector,
combinations of nested OBJECT tags. This was tested with MSIE
6.0.2900.2180.xpsp.040806-1825 and mshtml.dll 6.00.2900.2873
xpsp_sp2_gdr.060322-1613.
At first sight, this vulnerability may offer a remote compromise
although not necessarily a reliable one. The error is convolutedand
difficult to debug in absence of sources; as such, I cannot offera
definitive attack scenario, nor rule out that my initialdiagnosis will be
proved wrong [*]. As such, panic, but only slightly.(eax+0x28)
Probably the easiest way to trigger the problem is as follows:
perl -e '{print "<STYLE></STYLE>\n<OBJECT>\nBork\n"x32}'
test.html
...this will (usually) cause a NULL pointer + fixed offset
dereference in mshtml.dll, the pointer being read from allocatedbut still
zeroed memory region.page with
The aforementioned condition is not exploitable, but padding the
preceeding OBJECT tag (and other tags), increasing the number ofnested
OBJECTs, and most importantly, adding bogus 'type=' parameters ofvarious
length to the final sequence of OBJECTs, will cause thatdereference to
become non-NULL on many installations; then, a range of otherinteresting
faults should ensue, including dereferences of variable bogusaddresses
close to stack, or crashes later on, when the page is reloaded orclosed.
underlying
[ In absence of sources, I do not understand the precise
mechanics of the bug, and I am not inclined to spend hours witha
debugger to find out. I'm simply judging by the symptoms, butthese
seem to be indicative of an exploitable flaw. ](your
Several examples of pages that cause distinct faults in my setup
mileage may and probably WILL vary; on three test machines, thisworked as
described; on one, all examples behaved in non-exploitable 0x28way):
dereference)
http://lcamtuf.coredump.cx/iedie2-1.html (eax=0x0, instant
http://lcamtuf.coredump.cx/iedie2-2.html (bogus esi onreload/leave)
http://lcamtuf.coredump.cx/iedie2-3.html (page fault on browserclose)
http://lcamtuf.coredump.cx/iedie2-4.html (bogus esi onreload/leave)
vulnerability,
Well, that's it. Feel free to research this further. This
as requested by customers, is released in strict observance ofthe Patch
Wednesday & Bug Saturday policy.probably
[*] The ability of the attacker to document the attack scenario
doesn't matter for those who pretend to care; cryptic "hi" toSir, You work very well! I think you must also pester Microsoft. I
Secunia and their standards of conduct.
also remember LSD pesters Microsoft and they were rapidly sold out.
Concerned about your privacy? Instantly send FREE secure email, no account required
http://www.hushmail.com/send?l=480
Get the best prices on SSL certificates from Hushmail
https://www.hushssl.com?l=485
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
- Follow-Ups:
- Re: [Full-disclosure] MSIE (mshtml.dll) OBJECT tag vulnerability
- From: Sol Invictus
- Re: [Full-disclosure] MSIE (mshtml.dll) OBJECT tag vulnerability
- Prev by Date: Re: [Full-disclosure] What is wrong with schools these days?
- Next by Date: Re: [Full-disclosure] What is wrong with schools these days?
- Previous by thread: RE: [Full-disclosure] MSIE (mshtml.dll) OBJECT tag vulnerability
- Next by thread: Re: [Full-disclosure] MSIE (mshtml.dll) OBJECT tag vulnerability
- Index(es):
Relevant Pages
|