Bad Neighbour ICMPv6 Remote Code Execution Vulnerability
Bad Neighbour is a DoS and potential RCE vulnerability affecting Windows 10 and Windows Server. There are several public exploits, including one provided by Microsoft, that are able to crash affected systems, however none have been able to achieve RCE.
Summary
Bad Neighbour is a DoS and potential RCE vulnerability affecting Windows 10 and Windows Server. There are several public exploits, including one provided by Microsoft, that are able to crash affected systems, however none have been able to achieve RCE.
Affected platforms
The following platforms are known to be affected:
Threat details
Introduction
Microsoft has released details of a buffer overflow vulnerability, called Bad Neighbour (or Ping of Death Redux), affecting Windows 10 and Windows Server. They claim that an unauthenticated attacker could exploit this vulnerability to gain remote code execution (RCE) capability on affected systems.
Vulnerability Details
Bad Neighbour appears to be the result of an implementation error in the Windows TCP/IP stack when handling Internet Control Message Protocol version 6 (IMCPv6) Router Advertisement packets with Recursive DNS Server (RDNSS) option enabled. Packets using this option contain five fields: type, length, reserved, lifetime, and addresses of IPv6 RDNS servers; and when properly formed should always have an odd value length field of at least 3.
ICMPv6 Router Advertisement packets with non-complaint (i.e. even value) length fields cause the TCP/IP stack to incorrectly handle the packet, which results in a buffer overflow within the stack causing a denial-of-service (DoS) condition of the affected system or a potential RCE.
Lack of public RCE exploits
Please note that, at the time of publication, there are no known public Bad Neighbour exploits that achieve RCE. However, this is likely to change over the coming weeks as more technical analyses on the vulnerability are produced.
Remediation advice
Affected organisations are encouraged to review the following Microsoft security update guide and apply the relevant updates.
Organisations unable to apply updates should consider implementing the following mitigation:
- Disable IPv6, either on Network Interface Cards or at the network perimeter, if it is not required.
- Block or drop ICMPv6 Router Advertisement packets at the network perimeter.
- Disable ICMPv6 RDNSS using the below PowerShell command. Please note that this workaround is only available on Windows 10 1709 and later.
netsh int ipv6 set int *INTERFACENUMBER* rabaseddnsconfig=disable
Remediation steps
| Type | Step |
|---|---|
| Patch |
CVE-2020-16898 | Windows TCP/IP Remote Code Execution VulnerabilityA remote code execution vulnerability exists when the Windows TCP/IP stack improperly handles ICMPv6 Router Advertisement packets. An attacker who successfully exploited this vulnerability could gain the ability to execute code on the target server or client. To exploit this vulnerability, an attacker would have to send specially crafted ICMPv6 Router Advertisement packets to a remote Windows computer. The update addresses the vulnerability by correcting how the Windows TCP/IP stack handles ICMPv6 Router Advertisement packets. https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16898 |
Definitive source of threat updates
CVE Vulnerabilities
Last edited: 16 October 2020 1:58 pm