Windows GDI Elevation of Privilege Vulnerability (CVE-2017-0047)
Windows GDI mishandled objects in memory, allowing a logged-on attacker to run a crafted application that gains kernel-mode privileges. Successful exploitation could let the attacker run arbitrary code, install programs, change or delete data, or create accounts with full rights.
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.
FAQ
Does this release contain any additional security-related changes to functionality? Yes. In addition to the security updates that address the vulnerabilities described in this bulletin, Microsoft is releasing an update that replaces certain third party libraries which were used by Windows 8.1, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, and all versions of Windows 10. This update provides the same functionality in a more secure and reliable way.
Microsoft Graphics Component
Microsoft Graphics Component
Microsoft
Microsoft
Customer Action Required
Yes
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-handling flaw in GDI that allowed 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 accounts with full user rights; the attacker must already be logged on.
What the attacker needed
Attacker already logged on to the system; ability to run a crafted application
The fix
The update was fixed by correcting how GDI handles objects in memory and preventing unintended user-mode privilege elevation.
How it was found
- Log on to the affected system.
- Run a specially crafted application that exploits the flaw.
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.
Windows has a core drawing component called GDI that programs use to display graphics. A mistake in how it handled memory let a normal user run a small program that escaped its limited permissions and gained the highest level of control over the machine. That is called elevation of privilege: going from an ordinary user to an administrator-level user.
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.