Skip to content
Memory corruption Advisory Advanced CVE-2019-0999

DirectX Elevation of Privilege Vulnerability (CVE-2019-0999)

DirectX mishandled objects in memory, allowing an attacker who could log on to run arbitrary code in kernel mode. That could let them install programs, view or change data, or create accounts with full rights.

Zhang WangJunJie Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when DirectX improperly 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 DirectX handles objects in memory.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Zhang WangJunJie ( @syjzwjj ) of Tencent Keenlab. 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 DirectX did not properly validate or manage objects in memory, leading to memory corruption that can be turned into kernel-mode code execution.

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

Ability to log on to the system; run a crafted application

The fix

The vulnerability was fixed by an update that corrects how DirectX handles objects in memory.

How it was found

  1. Log on to the target system.
  2. Run a specially crafted application that triggers the DirectX memory-handling 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.

DirectX is a Windows component that helps software draw graphics and handle media. A memory-handling mistake in it let someone who already had a login run their own code with the highest level of control on the machine, called kernel mode. That is like getting the keys to the building rather than just one room.

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 Zhang WangJunJie

View all

1 more disclosed report, 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.