Windows DNS Server Remote Code Execution Vulnerability (CVE-2022-26818)
A remote code execution flaw existed in the Windows DNS Server. An attacker with privileges to query DNS could, if the timing of DNS queries was perfect, run code on the target server.
FAQ
According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires the attacker or targeted user to have specific elevated privileges. As is best practice, regular validation and audits of administrative groups should be conducted.
FAQ
How could an attacker exploit this vulnerability? In a network-based attack an attacker would need to have the privileges to query the Domain Name Service (DNS). If the timing of DNS queries is perfect, the attacker could execute code remotely on the target server.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to take additional actions prior to exploitation to prepare the target environment.
Role: DNS Server
Role: DNS Server
Microsoft
Microsoft
Customer Action Required
Yes
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 timing-sensitive flaw in how the DNS Server handled queries, though the text does not state the underlying mistake.
Impact
An attacker with DNS query privileges could execute code remotely on the target server, but only if the timing of DNS queries is perfect and after preparing the environment.
What the attacker needed
Privileges to query DNS; precise timing of DNS queries; preparation of the target environment
The fix
Microsoft marked customer action as required, but the text does not describe the fix itself.
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 names like a website address into the numeric addresses computers use. This flaw meant someone already allowed to ask that server questions could, with very precise timing, make the server run their own code. The text gives no technical detail about how, so it is only a high-level notice.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.