Windows DNSAPI Remote Code Execution Vulnerability (CVE-2018-8225)
Windows DNSAPI.dll failed to properly handle DNS responses, allowing a malicious DNS server to send corrupted responses. An attacker could exploit this to run arbitrary code as the Local System Account.
Originally disclosed on Microsoft
Description
A remote code execution 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 run arbitrary code in the context of the Local System Account. 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
Microsoft Windows
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-safety error in DNSAPI.dll when parsing DNS responses, though the text does not specify the exact coding mistake.
Impact
An attacker could run arbitrary code as the Local System Account, but only if the target uses a malicious DNS server.
What the attacker needed
Target uses a malicious 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.
This is a flaw in a Windows component that processes replies from DNS servers, which translate website names into addresses. A malicious DNS server could send a malformed reply that tricks the component into running the attacker's code with high privileges.
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.