Buffer overflow in NETGEAR D6220 Firmware
CVE-2021-27239
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400 and R6700 firmware version 1.0.4.98 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the upnpd service, which listens on UDP port 1900 by default. A crafted MX header field in an SSDP message can trigger an overflow of a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-11851.
Vulnerability class: Buffer Overflow
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.008, 56.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (attilaszia/linux-iot-cves, ostrichxyz7/rex). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.zerodayinitiative.com/advisories/ZDI-21-206/ (VDB Entry, Third Party Advisory)
- kb.netgear.com/000062820/Security-Advisory-for-Stack-based-Buffer-Overflow-Remo… (Vendor Advisory)