Skip to content
DoS Advisory Intermediate CVE-2018-8304

Windows DNSAPI Denial of Service Vulnerability (CVE-2018-8304)

Windows DNSAPI.dll failed to properly handle DNS responses, so a malicious DNS server could send corrupted responses to a target and cause the system to stop responding. The denial of service would not allow code execution or privilege elevation but could prevent authorised users from using system resources.

Roberto Rodriguez Follow

Originally disclosed on Microsoft

High 5.9 View original

Description

A denial of service vulnerability exists in Windows Domain Name System (DNS) DNSAPI.dll when it fails to properly handle DNS responses. 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. To exploit the vulnerability, the attacker would use a malicious DNS server to send corrupted DNS responses to the target. The update addresses the vulnerability by modifying how Windows DNSAPI.dll handles DNS responses.

Microsoft Windows DNS

Microsoft Windows DNS

The original report as published on the Microsoft Security Response Center, by Roberto Rodriguez ( @Cyb3rWard0g ) of SpecterOps. 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, Windows DNSAPI.dll did not properly validate or handle malformed DNS responses.

Impact

A malicious DNS server could cause the target system to stop responding, disrupting authorised users, but the flaw did not allow code execution or privilege elevation.

What the attacker needed

Attacker controls a DNS server; target uses that DNS server

The fix

The vulnerability was fixed by modifying how Windows DNSAPI.dll handles DNS responses.

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.

A computer asks a DNS server to translate website names into numeric addresses. In this case, a malicious DNS server could send back a malformed answer that made the Windows DNS component crash or hang, so the machine stopped responding. This is a denial of service: the goal is to disrupt the computer, not to break into it.

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