CVE-2021-34865 Auth bypass in Multiple Routers

High 8.8 Published Updated

Network-adjacent attackers can bypass authentication on NETGEAR routers to escalate privileges and execute arbitrary code as root.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-34865?

CVE-2021-34865 is a high-severity authentication bypass vulnerability in Netgear R6220 Firmware, published on 25 Jan 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This vulnerability allows network-adjacent attackers to bypass authentication on affected installations of multiple NETGEAR routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the mini_httpd service, which listens on TCP port 80 by default. The issue results from incorrect string matching logic when accessing protected pages. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root. Was ZDI-CAN-13313.

Weakness: CWE-697, CWE-287

Which versions are affected by CVE-2021-34865?

It affects 17 products.

Products include Netgear Ac2100 Firmware, Netgear Ac2400 Firmware, Netgear Ac2600 Firmware, Netgear D7000v1 Firmware, Netgear R6220 Firmware, Netgear R6230 Firmware and 11 more.

How do I fix CVE-2021-34865?

No fix has been published for CVE-2021-34865 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-34865 being exploited?

There is no known exploitation of CVE-2021-34865 in the wild and no public exploit code.

All Netgear R6220 Firmware vulnerabilities

Sources

Also known as GHSA-5wc2-pfcw-568j.

Is CVE-2021-34865 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free