Skip to content
Memory corruption Advisory Advanced CVE-2017-0077

Dxgkrnl.sys Elevation of Privilege Vulnerability (CVE-2017-0077)

The Windows DirectX graphics kernel driver (dxgkrnl.sys) improperly handles objects in memory, allowing a local attacker to run a crafted application that gains elevated privileges. On Windows 8.1 or later, the same flaw can also cause a denial of service.

pgboy Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when the Windows improperly handles objects in memory. In a local attack scenario, an attacker could exploit this vulnerability by running a specially crafted application to take control over the affected system. An attacker who successfully exploited this vulnerability could run processes in an elevated context. On systems with Windows 8.1 or later installed, this vulnerability can lead to denial of service. The update addresses the vulnerability by correcting the way in which the Microsoft DirectX graphics kernel subsystem (dxgkrnl.sys) handles certain calls and escapes to preclude improper memory mapping and prevent unintended elevation from user-mode.

Microsoft Graphics Component

Microsoft Graphics Component

The original report as published on the Microsoft Security Response Center, by pgboy and zhong_sf 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 improper memory mapping and handling of certain calls and escapes in the DirectX graphics kernel subsystem.

Impact

An attacker could run processes in an elevated context, and on Windows 8.1 or later could also cause a denial of service.

What the attacker needed

Local access to run a crafted application

The fix

The update was fixed by correcting how dxgkrnl.sys handles certain calls and escapes to prevent improper memory mapping and unintended elevation.

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 Windows driver that manages graphics. A local attacker who can already run a program on the machine could use a specially crafted application to make the driver misbehave, potentially gaining higher privileges than they should have. On newer Windows versions, the same flaw can also crash the system.

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 pgboy

View all

9 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.