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

Windows Uniscribe Remote Code Execution Vulnerability (CVE-2017-0087)

Windows Uniscribe mishandled objects in memory, which could let an attacker who successfully exploited it take control of the affected system. The attacker could then install programs, view or change or delete data, or create new accounts with full user rights.

Mateusz Jurczyk Follow

Originally disclosed on Microsoft

Critical 8.8 View original

Description

A remote code execution vulnerability exists due to the way Windows Uniscribe handles objects in memory. An attacker who successfully exploited this vulnerability could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. There are multiple ways an attacker could exploit this vulnerability: In a web-based attack scenario, an attacker could host a specially crafted website designed to exploit this vulnerability and then convince a user to view the website. 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 getting them to click a link in an email or instant message that takes users to the attacker's website, or by opening an attachment sent through email. In a file-sharing attack scenario, an attacker could provide a specially crafted document file designed to exploit this vulnerability and then convince a user to open the document file. The security update addresses the vulnerability by correcting how Windows Uniscribe handles objects in memory.

Microsoft Uniscribe

Microsoft Uniscribe

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mateusz Jurczyk of Google Project Zero. 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 a memory corruption flaw in how Windows Uniscribe processes objects in memory, though the text does not name the specific coding mistake.

Impact

An attacker could take control of the affected system with the victim's user rights, which is less severe for accounts with fewer rights; the text gives no evidence that any defence blocked exploitation.

What the attacker needed

Victim opens a crafted document; or victim visits an attacker website; attacker must persuade the victim

The fix

The vulnerability was fixed by a security update that corrects how Windows Uniscribe 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.

Uniscribe is a Windows component that helps display complex scripts and fonts. A memory handling mistake in it means a booby-trapped document or web page could let an attacker run their own code on your machine. The attacker still has to persuade you to open the file or visit the page, so the main defence is caution plus installing the update.

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 Mateusz Jurczyk

View all

207 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.