Skip to content
Memory corruption Advisory Advanced CVE-2017-8727

Internet Explorer Memory Corruption Vulnerability (CVE-2017-8727)

Internet Explorer mishandled objects in memory through the Windows Text Services Framework, allowing memory corruption. An attacker who convinced a user to open crafted content could run arbitrary code with that user's rights.

Zhang Yunhai Follow

Originally disclosed on Microsoft

Critical 7.5 View original

Description

A remote code execution vulnerability exists when Internet Explorer improperly accesses objects in memory via the Microsoft Windows Text Services Framework. The vulnerability could corrupt memory in such a way that an attacker could execute arbitrary code in the context of the current user. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, the attacker could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker could host a specially crafted website designed to exploit the vulnerability through Internet Explorer, and then convince a user to view the website. The attacker could also take advantage of compromised websites, or websites that accept or host user-provided content or advertisements, by adding specially crafted content that could exploit the vulnerability. In all cases, however, an attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically by an enticement in an email or instant message, or by getting them to open an attachment sent through email. The security update addresses the vulnerability by modifying how the Microsoft Windows Text Services Framework handles objects in memory.

Windows Shell

Windows Shell

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhang Yunhai of NSFOCUS. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, Internet Explorer improperly accessed objects in memory via the Windows Text Services Framework, leading to memory corruption.

Impact

An attacker could execute arbitrary code with the current user's rights, and with administrative rights could take control of the system; the user must be convinced to view the crafted content, as there is no way to force it.

What the attacker needed

Victim uses Internet Explorer; victim opens crafted page or attachment

The fix

The security update addresses the issue by changing how the Windows Text Services Framework handles objects in memory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A program keeps information in memory while it runs. Here, Internet Explorer used a part of Windows that handles text input in a way that let an attacker overwrite or confuse that memory. If a victim opened a booby-trapped page or attachment, the attacker's code could run as that person, with whatever permissions they had.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Zhang Yunhai

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.