IE7 0day Exploit analysis

Source: Internet
Author: User

The exploit for this vulnerability has two parts:

A. JavaScript Heap Spray Code and x86 Shellcode

B. A short of special Xml/span tag elements

The the ' I ' of this exploit is a combination of the shellcode and heap spray technology, as it is running, it'll be allocating memory blocks until it reaches address 0x0fff0000, the size of each memory blocks is 1MB, the shellcode would be Put in the address near the "end of".

Heap Spray:

The second part is the trigger of this vulnerability. The issue occurred in Mshtml.dll, IE uses this DLL to handle the Xml/span tags. This exploit used the special character & #2570; (hex:0x0a0a) to construct the value of SRC in the ' I <Image> label, like below:

When Mshtml.dll is processing such special xml/span tags, it'll allocate a structural memory block to handle th ESE elements. During the process, it'll release the "Memory Block" contains these elements but continue referring the blocks in the Next process, with the leak of sanity checks, this vulnerability would be trigged. This is a common object point overwrite tricks.

Here's the working flow of this exploit:

<1> Overwrite Object Point-> call to 0x0a0a0a0a

<2> Execute the Shellcode

<3>download the malware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.