Netgear fixes code execution flaw in many SOHO devices

by chebbi abir

Netgear addressed a code execution vulnerability, tracked as CVE-2021-34991, in its small office/home office (SOHO) devices.

Netgear addressed a pre-authentication buffer overflow issue in its small office/home office (SOHO) devices that can be exploited by an attacker on the local area network (LAN) to execute code remotely with root privileges.


The flaw, tracked as CVE-2021-34991 (CVSS score of 8.8), resides in the device’s Universal Plug-and-Play (UPnP) upnpd daemon functions related to the handling of “unauthenticated HTTP SUBSCRIBE and UNSUBSCRIBE requests from clients that wish to receive updates whenever the network’s UPnP configuration changes.”

The vulnerability was discovered by GRIMM researchers who also created a PoC exploit to compromise fully patched Netgear devices in the default configuration.

“This stack overflow is a traditional stack overflow that is not protected by any modern vulnerability mitigations.” reads the post published by GRIMM. “However, exploitation of this stack overflow is complicated by a few factors:

  1. Prior to overflowing the stack, the buffer with the user’s input is converted to lowercase. As a result, the exploit cannot use any gadgets which contain bytes with capital letters (ASCII 0x41-0x5A).
  2. The copy which overflows the stack is a string copy. As such, it will stop copying characters if it encounters a NULL character. Thus, the exploit cannot include gadgets with NULL bytes.

While the first limitation can be easily avoided by carefully choosing gadgets, the second limitation is much more difficult to bypass.”

Below is the list of impacted Netgear SOHO devices that includes routers, modems, and WiFi range extenders:

AC1450 – D6220 – D6300 –
D6400 – D7000v2 – D8500 –
DC112A – DGN2200v4 – DGN2200M –
DGND3700v1 – EX3700 – EX3800 –
EX3920 – EX6000 – EX6100 –
EX6120 – EX6130 – EX6150 –
EX6920 – EX7000 – MVBR1210C –
R4500 – R6200 – R6200v2 –
R6250 – R6300 – R6300v2 –
R6400 – R6400v2 – R6700 –
R6700v3 – R6900 – R6900P –
R7000 – R7000P – R7300DST –
R7850 – R7900 – R8000 –
R8300 – R8500 – RS400 –
WGR614v9 – 1.2.32 WGT624v4 – 2.0.13 WNDR3300v1 – 1.0.45
WNDR3300v2 – WNDR3400v1 – WNDR3400v2 –
WNDR3400v3 – WNDR3700v3 – WNDR4000 –
WNDR4500 – WNDR4500v2 – WNR834Bv2 – 2.1.13
WNR1000v3 – WNR2000v2 – WNR3500 – 1.0.36NA
WNR3500v2 – WNR3500L – WNR3500Lv2 –
XR300 –    

Netgear released security patches that fix the vulnerability in multiple devices and announced that it is testing additional firmware fixes.


To read the original article:


Interdit de copier  ce contenu