Security

Netgear fixes code execution flaw in many SOHO devices

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:

Vulnerable Devices
AC1450 – 1.0.0.36D6220 – 1.0.0.72D6300 – 1.0.0.102
D6400 – 1.0.0.104D7000v2 – 1.0.0.66D8500 – 1.0.3.60
DC112A – 1.0.0.56DGN2200v4 – 1.0.0.116DGN2200M – 1.0.0.35
DGND3700v1 – 1.0.0.17EX3700 – 1.0.0.88EX3800 – 1.0.0.88
EX3920 – 1.0.0.88EX6000 – 1.0.0.44EX6100 – 1.0.2.28
EX6120 – 1.0.0.54EX6130 – 1.0.0.40EX6150 – 1.0.0.46
EX6920 – 1.0.0.54EX7000 – 1.0.1.94MVBR1210C – 1.2.0.35BM
R4500 – 1.0.0.4R6200 – 1.0.1.58R6200v2 – 1.0.3.12
R6250 – 1.0.4.48R6300 – 1.0.2.80R6300v2 – 1.0.4.52
R6400 – 1.0.1.72R6400v2 – 1.0.4.106R6700 – 1.0.2.16
R6700v3 – 1.0.4.118R6900 – 1.0.2.16R6900P – 1.3.2.134
R7000 – 1.0.11.123R7000P – 1.3.2.134R7300DST – 1.0.0.74
R7850 – 1.0.5.68R7900 – 1.0.4.38R8000 – 1.0.4.68
R8300 – 1.0.2.144R8500 – 1.0.2.136RS400 – 1.5.0.68
WGR614v9 – 1.2.32WGT624v4 – 2.0.13WNDR3300v1 – 1.0.45
WNDR3300v2 – 1.0.0.26WNDR3400v1 – 1.0.0.52WNDR3400v2 – 1.0.0.54
WNDR3400v3 – 1.0.1.38WNDR3700v3 – 1.0.0.42WNDR4000 – 1.0.2.10
WNDR4500 – 1.0.1.46WNDR4500v2 – 1.0.0.72WNR834Bv2 – 2.1.13
WNR1000v3 – 1.0.2.78WNR2000v2 – 1.2.0.12WNR3500 – 1.0.36NA
WNR3500v2 – 1.2.2.28NAWNR3500L – 1.2.2.48NAWNR3500Lv2 – 1.2.0.66
XR300 – 1.0.3.56

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

Follow me on Twitter: @securityaffairs and Facebook

[adrotate banner=”9″][adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, Netgear)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Security Affairs newsletter Round 563 by Pierluigi Paganini – INTERNATIONAL EDITION

A new round of the weekly Security Affairs newsletter has arrived! Every week, the best…

9 minutes ago

Fintech firm Figure disclosed data breach after employee phishing attack

Fintech firm Figure confirmed a data breach after hackers used social engineering to trick an…

20 hours ago

U.S. CISA adds a flaw in BeyondTrust RS and PRA to its Known Exploited Vulnerabilities catalog

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a flaw in BeyondTrust RS and…

22 hours ago

Suspected Russian hackers deploy CANFAIL malware against Ukraine

A new alleged Russia-linked APT group targeted Ukrainian defense, government, and energy groups, with CANFAIL…

1 day ago

New threat actor UAT-9921 deploys VoidLink against enterprise sectors

A new threat actor, UAT-9921, uses the modular VoidLink framework to target technology and financial…

2 days ago

Attackers exploit BeyondTrust CVE-2026-1731 within hours of PoC release

Attackers quickly targeted BeyondTrust flaw CVE-2026-1731 after a PoC was released, enabling unauthenticated remote code…

2 days ago

This website uses cookies.