Windows GDI Elevation of Privilege Vulnerability (CVE-2018-0816)
The Windows Graphics Device Interface (GDI) mishandled objects in memory, allowing a logged-on attacker to run a specially crafted application that elevates privileges to kernel mode. Successful exploitation could let the attacker run arbitrary code, install programs, view or change data, or create accounts with full user rights.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in the way that the Windows Graphics Device Interface (GDI) handles objects in memory. An attacker who successfully exploited this vulnerability could run arbitrary code in kernel mode. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To exploit this vulnerability, an attacker would first have to log on to the system. An attacker could then run a specially crafted application that could exploit the vulnerability and take control of an affected system. The update addresses the vulnerability by correcting how GDI handles objects in memory and by preventing instances of unintended user-mode privilege elevation.
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, GDI did not properly validate or manage objects in memory, leading to unintended user-mode privilege elevation.
Impact
An attacker could run arbitrary code in kernel mode and then install programs, view, change, or delete data, or create new accounts with full user rights.
What the attacker needed
Log on to the system; run a specially crafted application
How it was found
- Log on to the affected system.
- Run a specially crafted application that exploits the vulnerability.
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.
GDI is a Windows component that draws graphics and manages objects like fonts and bitmaps. This bug meant that a program could trick GDI into mishandling memory, and because GDI runs with high privileges, the program could gain control of the whole machine. The attacker first needs to be able to log on to the computer and run a program.
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.