Microsoft Graphics Remote Code Execution Vulnerability (CVE-2018-1012)
The Windows font library mishandled specially crafted embedded fonts, allowing an attacker to run arbitrary code on the victim's machine. Successful exploitation could let an attacker take control of the system, install programs, change or delete data, or create accounts with full rights.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists when the Windows font library improperly handles specially crafted embedded fonts. An attacker who successfully exploited the 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 the vulnerability: In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability and then convince users 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 the vulnerability and then convince users to open the document file. The security update addresses the vulnerability by correcting how the Windows font library handles embedded fonts.
Microsoft Graphics Component
Microsoft Graphics Component
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 Windows font library failed to properly validate or handle specially crafted embedded font data, leading to memory corruption during parsing.
Impact
An attacker could take control of the affected system, install programs, view, change or delete data, or create accounts with full user rights; users with fewer rights could be less impacted.
What the attacker needed
Victim opens a malicious document; or victim visits an attacker website
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.
Fonts are files that tell a computer how to draw text, and Windows has a built-in library that reads them. This report says that library could be tricked by a malicious font file into running the attacker's code, so simply opening a document or visiting a page that uses such a font could hand over control of the computer. The fix makes the font library check embedded fonts properly.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.