CVE-2021-31802
HIGHNETGEAR R7000 Firmware < 1.0.11.116 - Unauthenticated Remote Code Execution via Backup.cgi File Upload
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2021-31802.
PoCs published by colorlight2019, SSD Disclosure, Grant Willcox (tekwizz123), including Metasploit module auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce.
AI-analyzed exploit summary This Metasploit module exploits a heap buffer overflow in Netgear R7000 routers via the backup.cgi endpoint, leading to unauthenticated remote code execution as root. It enables the telnet server for post-exploitation access.
Description
NETGEAR R7000 1.0.11.116 devices have a heap-based Buffer Overflow that is exploitable from the local network without authentication. The vulnerability exists within the handling of an HTTP request. An attacker can leverage this to execute code as root. The problem is that a user-provided length value is trusted during a backup.cgi file upload. The attacker must add a \n before the Content-Length header.
Exploits (1)
This Metasploit module exploits a heap buffer overflow in Netgear R7000 routers via the backup.cgi endpoint, leading to unauthenticated remote code execution as root. It enables the telnet server for post-exploitation access.
References (2)
Scores
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H