Windows DNS Server Remote Code Execution Vulnerability (CVE-2020-1350)
Windows DNS servers mishandled certain requests, allowing an unauthenticated attacker to send malicious requests and run arbitrary code as the Local System Account. Because it can spread between vulnerable machines without user interaction, Microsoft rated it wormable with a maximum severity score.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Windows Domain Name System servers when they fail to properly handle requests. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the Local System Account. Windows servers that are configured as DNS servers are at risk from this vulnerability. To exploit the vulnerability, an unauthenticated attacker could send malicious requests to a Windows DNS server. The update addresses the vulnerability by modifying how Windows DNS servers handle requests.
FAQ
This vulnerability has a CVSS Base score of 10. How bad is this? We consider this to be a wormable vulnerability, meaning that it has the potential to spread via malware between vulnerable computers without user interaction. DNS is a foundational networking component and commonly installed on Domain Controllers, so a compromise could lead to significant service interruptions and the compromise of high level domain accounts. Are any other non-Microsoft DNS server implementations impacted by this vulnerability? The vulnerability stems from a flaw in Microsoft’s DNS server implementation and is not the result of a protocol level flaw, so it does not affect any other non-Microsoft DNS server implementations. Under what circumstances would I consider using the registry key workaround? Microsoft recommends everyone who runs DNS servers to install the security update as soon as possible. However, if you are unable to apply the patch right away, Microsoft recommends that you use the workaround as soon as possible to protect your environment in the time before you install the updates. Is the Windows DNS client affected by this vulnerability? No, the vulnerability only affects Microsoft's Windows DNS Server implementation, so the Windows DNS client is not affected. Are internal, non-public facing DNS servers also vulnerable? Yes, Internally facing DNS servers are also affected because the vulnerability occurs when a server processes a maliciously crafted response and this can be triggered by any client name request. Are all Windows Servers affected by this vulnerability? No. Only Windows servers that are configured as DNS servers are affected by this vulnerability.
Microsoft Windows
Microsoft Windows
Microsoft
Microsoft
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 a memory handling flaw in Microsoft's own DNS server code when processing crafted requests, rather than a flaw in the DNS protocol itself.
Impact
An unauthenticated attacker could run code as the Local System Account, and because the flaw is wormable it could spread between vulnerable servers without user interaction, potentially compromising domain controllers and high-level domain accounts.
What the attacker needed
Windows server configured as a DNS server; attacker can send requests to it; no authentication needed
The fix
The vulnerability was fixed by a security update that changes how Windows DNS servers handle requests, with a registry key workaround offered for those who cannot patch immediately.
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 DNS server is the part of a network that turns website names into the numeric addresses computers use to find each other. This flaw meant a stranger could send it a specially crafted request and get their own code running on the machine with the highest level of permission. Because the server can be tricked into passing the problem on to other servers, it could spread like a worm.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.