Security Experts:

Connect with us

Hi, what are you looking for?



Netgear Patches Code Execution Vulnerability Affecting Many Products

A vulnerability in Netgear small office/home office (SOHO) devices can be exploited by an attacker on the local area network (LAN) to execute code remotely with root privileges, GRIMM security researchers warn.

A vulnerability in Netgear small office/home office (SOHO) devices can be exploited by an attacker on the local area network (LAN) to execute code remotely with root privileges, GRIMM security researchers warn.

Tracked as CVE-2021-34991 (CVSS score of 8.8), the vulnerability is described as a pre-authentication buffer overflow and was found to affect a device’s Universal Plug-and-Play (UPnP) daemon.

Netgear SOHO devices affected by the bug include routers, modems, and WiFi range extenders, and GRIMM’s researchers say they were able to devise an exploit capable of compromising even fully patched devices that are running the default configuration.

The issue was discovered in 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.”

While the issue is a traditional stack overflow, without modern mitigations to provide protections against it, exploitation is complicated by the fact that the buffer containing user input is converted to lowercase before the overflow, meaning that no gadgets containing bytes with capital letters can be used, and because “the copy which overflows the stack is a string copy,” GRIMM explains.

The security researchers have released proof-of-concept (PoC) code that exploits the vulnerability and also published a detailed technical analysis of the security error.

Netgear has announced the availability of patches that address the vulnerability in numerous device models, including extenders, routers, DSL modem routers, aircards, and cable modems, encouraging users to download and install the fixes as soon as possible.

“NETGEAR is developing and testing additional firmware fixes, which we will release as they become available,” the company also announced.

Related: Netgear Patches Remote Code Execution Flaw in SOHO Routers

Related: NETGEAR Patches Severe Vulnerabilities in Business Switches

Related: Critical, Exploitable Flaws in NETGEAR Router Firmware

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.


Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.