CVE-2021-40847: High severity Netgear R6400v2 Firmware vulnerability
The update process of the Circle Parental Control Service on various NETGEAR routers allows remote attackers to achieve remote code execution as root via a MitM attack. While the parental controls themselves are not enabled by default on the routers, the Circle update daemon, circled, is enabled by default. This daemon connects to Circle and NETGEAR to obtain version information and updates to the circled daemon and its filtering database. However, database updates from NETGEAR are unsigned and downloaded via cleartext HTTP. As such, an attacker with the ability to perform a MitM attack on the device can respond to circled update requests with a crafted, compressed database file, the extraction of which gives the attacker the ability to overwrite executable files with attacker-controlled code. This affects R6400v2 1.0.4.106, R6700 1.0.2.16, R6700v3 1.0.4.106, R6900 1.0.2.16, R6900P 1.3.2.134, R7000 1.0.11.123, R7000P 1.3.2.134, R7850 1.0.5.68, R7900 1.0.4.38, R8000 1.0.4.68, and RS400 1.5.0.68.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Mitigate the described MitM vector by preventing cleartext HTTP update traffic for the Circle Parental Control Service (circled) from being intercepted or altered in transit (e.g., block/route around MitM-capable paths and restrict/segment outbound update connectivity).
Event History
Frequently Asked Questions
What is CVE-2021-40847?
CVE-2021-40847 is a vulnerability in the update process of the Circle Parental Control Service on various NETGEAR routers, allowing remote code execution as root via a MitM attack.
How severe is CVE-2021-40847?
CVE-2021-40847 has a severity rating of 8.1 (Critical).
Which NETGEAR routers are affected by CVE-2021-40847?
NETGEAR routers including R6400v2, R6700, R6700v3, R6900, R6900p, R7000, R7000p, R7850, R7900, R8000, and Rs400 are affected by CVE-2021-40847.
How can remote code execution be achieved in CVE-2021-40847?
Remote code execution as root can be achieved in CVE-2021-40847 through a Man-in-the-Middle (MitM) attack during the update process of the Circle Parental Control Service on NETGEAR routers.
Where can I find more information about CVE-2021-40847?
More information about CVE-2021-40847 can be found in this [blog post](https://blog.grimm-co.com/2021/09/mama-always-told-me-not-to-trust.html) and [Netgear's security advisory](https://kb.netgear.com/000064039/Security-Advisory-for-Remote-Code-Execution-on-Some-Routers-PSV-2021-0204).