CVE-2021-34947 NETGEAR R7800 net-cgi Out-Of-Bounds Write Remote Code Execution Vulnerability
Network-adjacent attackers can execute arbitrary code as root on NETGEAR R7800 routers via an out-of-bounds write in net-cgi.
- 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-34947?
CVE-2021-34947 is a high-severity memory corruption vulnerability in Netgear D7800 Firmware, published on 7 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
NETGEAR R7800 net-cgi Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R7800 routers. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of the soap_block_table file. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated data structure. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-13055.
Weakness: CWE-787
Which versions are affected by CVE-2021-34947?
It affects 41 products.
Products include Netgear D7800 Firmware, Netgear Ex2700 Firmware, Netgear Ex6100 Firmware, Netgear Ex6150 Firmware, Netgear Ex6200 Firmware, Netgear Ex6250 Firmware and 35 more.
How do I fix CVE-2021-34947?
No fix has been published for CVE-2021-34947 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-34947 being exploited?
There is no known exploitation of CVE-2021-34947 in the wild and no public exploit code.
Other vulnerabilities in Netgear D7800 Firmware
Sources
Also known as GHSA-jj28-565j-58r3.