Win32k Elevation of Privilege Vulnerability (CVE-2017-0155)
The Win32k component in Windows failed to properly handle objects in memory, creating an elevation of privilege vulnerability. An attacker who logged on could run a specially crafted application to execute arbitrary code in kernel mode and take control of the system.
Description
An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle 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 this vulnerability by correcting how Win32k handles objects in memory.
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 a memory-safety error in Win32k's handling of objects, such as a use-after-free or type confusion, that lets a low-privileged process corrupt kernel memory.
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.
What the attacker needed
Log on to the target system; run a crafted application locally
The fix
The vulnerability was fixed by an update that corrects how Win32k handles objects in memory.
How it was found
- Log on to the target Windows system.
- Run a specially crafted application that triggers the Win32k flaw.
- Gain kernel-mode code execution and take control of the system.
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.
This is a flaw in a core part of Windows that manages graphics and some system calls. Because that part runs with the highest level of trust, a mistake in how it handles memory can let a logged-in user run their own code with the same high trust, effectively becoming an administrator or more. The attacker must already have an account on the machine to start.
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.