Skip to content
Memory corruption Advisory Advanced CVE-2018-1038

Windows Kernel Elevation of Privilege Vulnerability (CVE-2018-1038)

The Windows kernel failed to properly handle objects in memory, allowing an attacker who logs on to run a specially crafted application and execute arbitrary code in kernel mode. This could let them install programs, view or change data, or create accounts with full user rights.

Ulf Frisk Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when the Windows kernel 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 to take control of an affected system. The update addresses the vulnerability by correcting how the Windows kernel handles objects in memory.

FAQ

I am running Windows 7 or Windows Server 2008 R2 on my system. At what point do I need to install security update 4100480? If you are running Windows 7 for x64-based Systems or Windows Server 2008 R2 for x64-based Systems, and you have installed any of the servicing updates released during or after January 2018, you need to install 4100480 immediately to be protected from this vulnerability. Do Security Only update 4093108 and Monthly Rollup update 4093118 released on April 10, 2018 include the security update for CVE-2018-1038? Yes. Security updates 4093118 and 4093108 for supported editions of Windows 7 and Windows Server 2008 R2 include the security update for CVE-2018-1038 (4100480). Customers who install either of these updates released on April 10 will be protected from this vulnerability.

Windows Kernel

Windows Kernel

The original report as published on the Microsoft Security Response Center, by Ulf Frisk - @UlfFrisk. 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 Windows kernel mishandled objects in memory, leading to memory corruption that allowed 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

Log on to the system; Windows 7 or Server 2008 R2 x64; January 2018 or later servicing update

The fix

The vulnerability was fixed by an update that corrects how the Windows kernel handles objects in memory.

How it was found

  1. Log on to the affected system.
  2. Run a specially crafted application to 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.

The kernel is the core part of Windows that controls memory and hardware. A bug there let a logged-in user run a program that took over the whole machine, not just their own account. The fix was a Windows update that corrected how the kernel handles memory.

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