{"id":"CVE-2021-31802","published":"2021-04-26T12:02:32Z","modified":"2024-08-03T23:10:29Z","title":"NETGEAR R7000 1.0.11.116 devices have a heap-based Buffer Overflow that is exploitable from the local network without…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.14177,"percentile":0.96665,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.netgear.com/about/security/","tags":["x_refsource_MISC"]},{"url":"https://ssd-disclosure.com/ssd-advisory-netgear-nighthawk-r7000-httpd-preauth-rce/","tags":["x_refsource_MISC"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"metasploit":[{"name":"Netgear R7000 backup.cgi Heap Overflow RCE","module":"auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce","type":"auxiliary","disclosureDate":"2021-04-21","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce.rb"}],"first":{"date":"2021-04-21","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/http/netgear_r7000_backup_cgi_heap_overflow_rce.rb"},"provenance":"source"},"summary":{"text":"The flaw is a heap-based buffer overflow in the handling of HTTP requests on NETGEAR R7000 devices running firmware 1.0.11.116, where a user-supplied length value is trusted during a backup.cgi file upload. An attacker on the local network, without authentication, can exploit it by inserting a newline before the Content-Length header to execute code as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:36Z"},"euvd":{"id":"EUVD-2021-18681","exploited":false,"provenance":"source"}}