Skip to content
DoS Advisory Intermediate CVE-2018-1040

Windows Code Integrity Module Denial of Service Vulnerability (CVE-2018-1040)

The Windows Code Integrity Module mishandled hashing of specially crafted files, allowing an attacker to cause a system to stop responding. The attacker could not execute code or elevate privileges, but could prevent authorised users from using system resources.

Honggang Ren Follow

Originally disclosed on Microsoft

High 5.3 View original

Description

A denial of service vulnerability exists in the way that the Windows Code Integrity Module performs hashing. An attacker who successfully exploited the vulnerability could cause a system to stop responding. Note that the denial of service condition would not allow an attacker to execute code or to elevate user privileges. However, the denial of service condition could prevent authorized users from using system resources. An attacker could host a specially crafted file in a website or SMB share. The attacker could also take advantage of compromised websites, or websites that accept or host user-provided content or advertisements, by adding specially crafted content that could exploit the vulnerability. However, in all cases an attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically via an enticement in email or instant message, or by getting them to open an email attachment. The security update addresses the vulnerability by modifying how the Code Integrity Module performs hashing.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Honggang Ren of Fortinet's FortiGuard Labs. 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 Code Integrity Module did not properly handle hashing of certain crafted files, leading to excessive resource consumption.

Impact

An attacker could cause a system to stop responding, preventing authorised users from using system resources, but could not execute code or elevate privileges.

What the attacker needed

Victim opens a crafted file; attacker hosts file on website or SMB share

The fix

The vulnerability was fixed by modifying how the Code Integrity Module performs hashing.

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 denial-of-service bug in Windows. A file crafted in a special way makes a Windows security component (the Code Integrity Module) work so hard that the whole computer freezes. The attacker cannot run their own code or gain extra rights, but they can stop you from using your machine.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Honggang Ren

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.