NetSight
high8.8

CVE-2021-34991

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.106_10.0.80 routers.

Impact

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400v2 1.0.4.106_10.0.80 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the UPnP service, which listens on TCP port 5000 by default. When parsing the uuid request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-14110.

Affected products

VendorProductAffected versions
NetgearEx3700 Firmware
before 1.0.0.94
NetgearEx3800 Firmware
before 1.0.0.94
NetgearEx6120 Firmware
before 1.0.0.66
NetgearEx6130 Firmware
before 1.0.0.66
NetgearR6400 Firmware
before 1.0.1.76
NetgearR6400v2 Firmware
before 1.0.4.120
NetgearR6700v3 Firmware
before 1.0.4.120
NetgearR6900p Firmware
before 1.3.3.142
NetgearR7000 Firmware
before 1.0.11.128
NetgearR7000p Firmware
before 1.3.3.142
NetgearR7100lg Firmware
before 1.0.0.72
NetgearR7850 Firmware
before 1.0.5.76

Weakness classification

References