Skip to content
Memory corruption Advisory Advanced CVE-2016-3218

Win32k Elevation of Privilege Vulnerability (CVE-2016-3218)

The Windows kernel-mode driver 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.

zhong_sf Follow

Originally disclosed on Microsoft

Description

An elevation of privilege vulnerability exists in Windows when the Windows kernel-mode driver 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 the Windows kernel-mode driver handles objects in memory.

Windows Kernel-Mode Drivers

Windows Kernel-Mode Drivers

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by zhong_sf and pgboy of Qihoo 360 Vulcan Team. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 kernel-mode driver mishandled objects in memory, such as by using a pointer after it was freed or by not validating an object correctly.

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 crafted application

The fix

The update addresses the vulnerability by correcting how the Windows kernel-mode driver handles objects in memory.

How it was found

  1. Log on to the affected Windows system.
  2. Run a specially crafted application that triggers the memory handling flaw.
  3. Gain arbitrary code execution in kernel mode.

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, the kernel, which is the software that controls memory and hardware. Because the kernel already has the highest level of trust, a mistake there lets someone who is already logged in run their own code with the same high trust, instead of being limited to normal user permissions. The result is that they could install software, read or change files, or make new administrator accounts.

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.

More by zhong_sf

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.