Buffer overflow in NETGEAR R7000

CVE-2021-31802

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.

Vulnerability class: Buffer Overflow

EPSS: 0.142 (96.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-31802?
CVE-2021-31802 is a high-severity vulnerability in NETGEAR R7000, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2021-04-26.
How severe is CVE-2021-31802?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-31802 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.