OpenType Font Parsing Remote Code Execution Vulnerability (CVE-2019-1456)
The Windows Adobe Type Manager Library mishandled specially crafted OpenType fonts, so a malicious font could trigger remote code execution. On Windows 10 the code ran inside a restricted AppContainer sandbox, while other Windows versions allowed full remote code execution.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Microsoft Windows when the Windows Adobe Type Manager Library improperly handles specially crafted OpenType fonts. For all systems except Windows 10, an attacker who successfully exploited the vulnerability could execute code remotely. For systems running Windows 10, an attacker who successfully exploited the vulnerability could execute code in an AppContainer sandbox context with limited privileges and capabilities. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. There are multiple ways an attacker could exploit the vulnerability, such as by either convincing a user to open a specially crafted document, or by convincing a user to visit a webpage that contains specially crafted embedded OpenType fonts. The update addresses the vulnerability by correcting how the Windows Adobe Type Manager Library handles OpenType fonts.
Graphic Fonts
Graphic Fonts
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 the font parsing library did not properly validate the structure of OpenType font data, allowing malformed input to corrupt memory during parsing.
Impact
An attacker could run code remotely, and on Windows 10 the code was confined to an AppContainer sandbox with limited privileges, so the full impact applied to other Windows versions.
What the attacker needed
Victim opens a crafted document; or victim visits a crafted webpage
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 font file is normally just a way to draw letters, but Windows has to read and interpret it, and that reading code had a flaw. If someone opened a document or a web page containing a booby-trapped font, the attacker's instructions could run as code on the machine. On newer Windows the damage was limited by a sandbox, which is a restricted box that stops programs from doing much.
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.