Last updated at Tue, 27 Oct 2020 14:12:35 GMT
If you’re in the U.S. and were waiting for an “October surprise”, look no further than CVE-2020-16898 which is a remote code execution (RCE) vulnerability in the Windows TCP/IP stack, or what our own Tod Beardsley likes to call “exploiting poor implementations of core IETF RFCs”.
The vulnerability arises when the TCP/IP stack does not properly handle ICMPv6 Router Advertisement packets. Successful exploitation requires sending specially-crafted ICMPv6 Router Advertisement packets to a remote Windows computer and could give an attacker the ability to execute code on the target server or client. CVE-2020-16898 carries a CVSSv3 base score of 9.8.
Our talented crew of Rapid7 vulnerability researchers have a technichal analysis up on AttackerKB, and security firm McAfee has their own technical analysis of CVE-2020-16898 available here, which we recommend reading. Their research and engineering teams note that the Microsoft-provided exploit is “both extremely simple and perfectly reliable[, and] results in an immediate [Blue Screen of Death] (BSoD)”.
Before we go any further, we would like to strongly encourage you to patch this vulnerability if you are running Windows 10, Windows Server 2019, or Windows Server Core 1903, 1909, or 2004. You really don’t want to mess around when the word “wormable” is being used and so many eyes are on the non-BSOD prize of a fully-working RCE. If you cannot patch, consider disabling ICMPv6 Recursive DNS Server (RDNSS) as a workaround (which is, unfortunately, only available for Windows 1709 and above) via the PowerShell command:
netsh int ipv6 set int *INTERFACENUMBER* rabaseddnsconfig=disable
More Like “Slightly Annoying Neighbors” (For Now)
As noted above, there are many folks who have access to the known BSoD exploit and scads more burning through cases of Mountain Dew to try to replicate the BSoD on their own (which is a common first step when attempting to get a repeatable remote code execution exploit to work). Weaponizing this and other BSoD=>RCE bugs is not exactly trivial, especially on modern operating systems like the ones impacted by this weakness.
In the short term (and, possibly long term) you should be more wary of disruption and distraction campaigns using this weakness, especially since IPv6 is very likely running on your internal network (where Bad Neighbor attacks are really most likely to occur) without you being aware of it.
What More Can You Do?
InsightVM and Nexpose can assess their exposure to CVE-2020-16898 with an authenticated check.
Defenders may also find the detection logic and a available Suricata rule (courtesy of McAfee’s threat detection team) quite useful.
Don’t be equally surprised in November, December, January, or any of the other calendar months. You and your organization should really be prepared to have between 1-5 critical “patch now” events each month for the foreseeable future. That may seem disruptive, but the spate of critical bugs in core business and remote access technologies has become the new normal and the only way to handle it is to make it part of the plan.
On 2020-10-14 Juniper Networks released an advisory noting that the following JunOS versions are vulnerable to CVE-2020-16898 if the DHCPv6 Relay Agent feature is configured/enabled via
[forwarding-options dhcp-relay dhcpv6]:
- 12.3 versions prior to 12.3R12-S15;
- 12.3X48 versions prior to 12.3X48-D95;
- 14.1X53 versions prior to 14.1X53-D53;
- 15.1 versions prior to 15.1R7-S6;
- 15.1X49 versions prior to 15.1X49-D200;
- 15.1X53 versions prior to 15.1X53-D593;
- 16.1 versions prior to 16.1R7-S7;
- 16.2 versions prior to 16.2R2-S11;
- 17.1 versions prior to 17.1R2-S11, 17.1R3-S2;
- 17.2 versions prior to 17.2R3-S3;
- 17.2X75 versions prior to 17.2X75-D44;
- 17.3 versions prior to 17.3R3-S7;
- 17.4 versions prior to 17.4R2-S9, 17.4R3;
- 18.1 versions prior to 18.1R3-S9;
- 18.2 versions prior to 18.2R2-S6, 18.2R3-S2;
- 18.2X75 versions prior to 18.2X75-D12, 18.2X75-D33, 18.2X75-D435, 18.2X75-D60;
- 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3-S1;
- 18.4 versions prior to 18.4R1-S5, 18.4R2-S3, 18.4R3;
- 19.1 versions prior to 19.1R1-S4, 19.1R2;
- 19.2 versions prior to 19.2R1-S3, 19.2R2;
- 19.3 versions prior to 19.3R2.
There are no workaround for this issue.
Juniper has assigned a separate CVE — CVE-2020-1656 — for this vulnerability.