PATCH NOW - SIGRed - CVE-2020-1350 - Microsoft DNS Server Vulnerability:
Yesterday, Microsoft released a patch for CVE-2020-1350, fixing a critical vulnerability in it's[sic] DNS server. The vulnerability is 17 years old. All current versions of Microsoft's server back to 2003 are affected. The vulnerability earned a CVSS score of 10, indicating that it allows a full remote system compromise without any authentication. An exploit could likely spread without user interaction ("wormable").
A server is vulnerable if the DNS role is enabled. Note that Active Directory and Kerberos require DNS, and domain controllers usually have the DNS role enabled. This will put the domain controller at risk!
The vulnerability is triggered by an oversized DNS response containing a "SIG" record.
The basic exploit flow would look like:
- The attacker triggers a DNS query (for example, the victim visits a web page, or the attacker is sending an email to the victim). For a badly configured ("open recursive") name server, the attacker may just send a query to the name server directly.
- The victim DNS server will query the attacker's name server via UDP. By default, name servers will send queries via UDP first.
- The attacker responds with a truncated response, indicating that the response is too large for UDP.
- The victim will now re-send the request via TCP
- The attacker will respond with the exploit.
To trigger the exploit, the size of the response has to exceed 64kBytes. However, this does not mean that the attacker has to send more then 64kBytes (the attacker can't! DNS replies over TCP max out at 64kBytes). Instead, the attacker's response will take advantage of "pointers", to compress the response. It will be expanded (and trigger the exploit) on the victim's DNS server.
For more technical information, see: https://research.checkpoint.com/2020/resolving-your-way-into-domain-admin-exploiting-a-17-year-old-bug-in-windows-dns-servers/
(Score: 1, Informative) by Anonymous Coward on Thursday July 16 2020, @01:00PM
Ouch. When I initially saw the announcement, I had assumed it was a bug in the DNS server, which isn't too severe because most domain controllers aren't directly accessible from the outside. But this being a DNS client error, means that all an attacker has to do is configure his own domain, and then send an e-mail with a link to his DNS name. It's very likely that the recipient's mail scanner will access the link to determine if the contents are harmful...