// For flags

CVE-2021-27239

NETGEAR Multiple Routers SSDP Stack-based Buffer Overflow Remote Code Execution Vulnerability

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en las instalaciones afectadas de los enrutadores NETGEAR R6400 y R6700 versión de firmware 1.0.4.98. No es requerida una autenticación para explotar esta vulnerabilidad. El fallo específico se presenta dentro del servicio upnpd, que escucha en el puerto UDP 1900 por defecto. Un campo de encabezado MX diseñado en un mensaje SSDP puede desencadenar un desbordamiento de un búfer en la región stack de la memoria de longitud corregida. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de root. Era ZDI-CAN-11851

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6400 and R6700 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.

*Credits: Anonymous
CVSS Scores
Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Adjacent
Attack Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-02-16 CVE Reserved
  • 2021-02-24 CVE Published
  • 2024-04-15 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-121: Stack-based Buffer Overflow
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Netgear
Search vendor "Netgear"
D6220 Firmware
Search vendor "Netgear" for product "D6220 Firmware"
< 1.0.0.68
Search vendor "Netgear" for product "D6220 Firmware" and version " < 1.0.0.68"
-
Affected
in Netgear
Search vendor "Netgear"
D6220
Search vendor "Netgear" for product "D6220"
--
Safe
Netgear
Search vendor "Netgear"
D6400 Firmware
Search vendor "Netgear" for product "D6400 Firmware"
< 1.0.0.102
Search vendor "Netgear" for product "D6400 Firmware" and version " < 1.0.0.102"
-
Affected
in Netgear
Search vendor "Netgear"
D6400
Search vendor "Netgear" for product "D6400"
--
Safe
Netgear
Search vendor "Netgear"
D7000 Firmware
Search vendor "Netgear" for product "D7000 Firmware"
< 1.0.0.66
Search vendor "Netgear" for product "D7000 Firmware" and version " < 1.0.0.66"
-
Affected
in Netgear
Search vendor "Netgear"
D7000
Search vendor "Netgear" for product "D7000"
v2
Search vendor "Netgear" for product "D7000" and version "v2"
-
Safe
Netgear
Search vendor "Netgear"
D8500 Firmware
Search vendor "Netgear" for product "D8500 Firmware"
< 1.0.3.60
Search vendor "Netgear" for product "D8500 Firmware" and version " < 1.0.3.60"
-
Affected
in Netgear
Search vendor "Netgear"
D8500
Search vendor "Netgear" for product "D8500"
--
Safe
Netgear
Search vendor "Netgear"
Dc112a Firmware
Search vendor "Netgear" for product "Dc112a Firmware"
< 1.0.0.54
Search vendor "Netgear" for product "Dc112a Firmware" and version " < 1.0.0.54"
-
Affected
in Netgear
Search vendor "Netgear"
Dc112a
Search vendor "Netgear" for product "Dc112a"
--
Safe
Netgear
Search vendor "Netgear"
Ex7000 Firmware
Search vendor "Netgear" for product "Ex7000 Firmware"
< 1.0.1.94
Search vendor "Netgear" for product "Ex7000 Firmware" and version " < 1.0.1.94"
-
Affected
in Netgear
Search vendor "Netgear"
Ex7000
Search vendor "Netgear" for product "Ex7000"
--
Safe
Netgear
Search vendor "Netgear"
Ex7500 Firmware
Search vendor "Netgear" for product "Ex7500 Firmware"
< 1.0.0.72
Search vendor "Netgear" for product "Ex7500 Firmware" and version " < 1.0.0.72"
-
Affected
in Netgear
Search vendor "Netgear"
Ex7500
Search vendor "Netgear" for product "Ex7500"
--
Safe
Netgear
Search vendor "Netgear"
R6250 Firmware
Search vendor "Netgear" for product "R6250 Firmware"
< 1.0.4.48
Search vendor "Netgear" for product "R6250 Firmware" and version " < 1.0.4.48"
-
Affected
in Netgear
Search vendor "Netgear"
R6250
Search vendor "Netgear" for product "R6250"
--
Safe
Netgear
Search vendor "Netgear"
R6300 Firmware
Search vendor "Netgear" for product "R6300 Firmware"
< 1.0.4.50
Search vendor "Netgear" for product "R6300 Firmware" and version " < 1.0.4.50"
-
Affected
in Netgear
Search vendor "Netgear"
R6300
Search vendor "Netgear" for product "R6300"
v2
Search vendor "Netgear" for product "R6300" and version "v2"
-
Safe
Netgear
Search vendor "Netgear"
R6400 Firmware
Search vendor "Netgear" for product "R6400 Firmware"
< 1.0.1.68
Search vendor "Netgear" for product "R6400 Firmware" and version " < 1.0.1.68"
-
Affected
in Netgear
Search vendor "Netgear"
R6400
Search vendor "Netgear" for product "R6400"
--
Safe
Netgear
Search vendor "Netgear"
R6400 Firmware
Search vendor "Netgear" for product "R6400 Firmware"
< 1.0.4.102
Search vendor "Netgear" for product "R6400 Firmware" and version " < 1.0.4.102"
-
Affected
in Netgear
Search vendor "Netgear"
R6400
Search vendor "Netgear" for product "R6400"
v2
Search vendor "Netgear" for product "R6400" and version "v2"
-
Safe
Netgear
Search vendor "Netgear"
R6700 Firmware
Search vendor "Netgear" for product "R6700 Firmware"
< 1.0.4.102
Search vendor "Netgear" for product "R6700 Firmware" and version " < 1.0.4.102"
-
Affected
in Netgear
Search vendor "Netgear"
R6700
Search vendor "Netgear" for product "R6700"
v3
Search vendor "Netgear" for product "R6700" and version "v3"
-
Safe
Netgear
Search vendor "Netgear"
R6900p Firmware
Search vendor "Netgear" for product "R6900p Firmware"
< 1.3.2.132
Search vendor "Netgear" for product "R6900p Firmware" and version " < 1.3.2.132"
-
Affected
in Netgear
Search vendor "Netgear"
R6900p
Search vendor "Netgear" for product "R6900p"
--
Safe
Netgear
Search vendor "Netgear"
R7000 Firmware
Search vendor "Netgear" for product "R7000 Firmware"
< 1.0.11.116
Search vendor "Netgear" for product "R7000 Firmware" and version " < 1.0.11.116"
-
Affected
in Netgear
Search vendor "Netgear"
R7000
Search vendor "Netgear" for product "R7000"
--
Safe
Netgear
Search vendor "Netgear"
R7000p Firmware
Search vendor "Netgear" for product "R7000p Firmware"
< 1.3.2.132
Search vendor "Netgear" for product "R7000p Firmware" and version " < 1.3.2.132"
-
Affected
in Netgear
Search vendor "Netgear"
R7000p
Search vendor "Netgear" for product "R7000p"
--
Safe
Netgear
Search vendor "Netgear"
R7100lg Firmware
Search vendor "Netgear" for product "R7100lg Firmware"
< 1.0.0.64
Search vendor "Netgear" for product "R7100lg Firmware" and version " < 1.0.0.64"
-
Affected
in Netgear
Search vendor "Netgear"
R7100lg
Search vendor "Netgear" for product "R7100lg"
--
Safe
Netgear
Search vendor "Netgear"
R7850 Firmware
Search vendor "Netgear" for product "R7850 Firmware"
< 1.0.5.68
Search vendor "Netgear" for product "R7850 Firmware" and version " < 1.0.5.68"
-
Affected
in Netgear
Search vendor "Netgear"
R7850
Search vendor "Netgear" for product "R7850"
--
Safe
Netgear
Search vendor "Netgear"
R7900 Firmware
Search vendor "Netgear" for product "R7900 Firmware"
< 1.0.4.38
Search vendor "Netgear" for product "R7900 Firmware" and version " < 1.0.4.38"
-
Affected
in Netgear
Search vendor "Netgear"
R7900
Search vendor "Netgear" for product "R7900"
--
Safe
Netgear
Search vendor "Netgear"
R7900p Firmware
Search vendor "Netgear" for product "R7900p Firmware"
< 1.4.1.68
Search vendor "Netgear" for product "R7900p Firmware" and version " < 1.4.1.68"
-
Affected
in Netgear
Search vendor "Netgear"
R7900p
Search vendor "Netgear" for product "R7900p"
--
Safe
Netgear
Search vendor "Netgear"
R7960p Firmware
Search vendor "Netgear" for product "R7960p Firmware"
< 1.4.1.68
Search vendor "Netgear" for product "R7960p Firmware" and version " < 1.4.1.68"
-
Affected
in Netgear
Search vendor "Netgear"
R7960p
Search vendor "Netgear" for product "R7960p"
--
Safe
Netgear
Search vendor "Netgear"
R8000 Firmware
Search vendor "Netgear" for product "R8000 Firmware"
< 1.0.4.68
Search vendor "Netgear" for product "R8000 Firmware" and version " < 1.0.4.68"
-
Affected
in Netgear
Search vendor "Netgear"
R8000
Search vendor "Netgear" for product "R8000"
--
Safe
Netgear
Search vendor "Netgear"
R8000p Firmware
Search vendor "Netgear" for product "R8000p Firmware"
< 1.4.1.68
Search vendor "Netgear" for product "R8000p Firmware" and version " < 1.4.1.68"
-
Affected
in Netgear
Search vendor "Netgear"
R8000p
Search vendor "Netgear" for product "R8000p"
--
Safe
Netgear
Search vendor "Netgear"
R8300 Firmware
Search vendor "Netgear" for product "R8300 Firmware"
< 1.0.2.144
Search vendor "Netgear" for product "R8300 Firmware" and version " < 1.0.2.144"
-
Affected
in Netgear
Search vendor "Netgear"
R8300
Search vendor "Netgear" for product "R8300"
--
Safe
Netgear
Search vendor "Netgear"
R8500 Firmware
Search vendor "Netgear" for product "R8500 Firmware"
< 1.0.2.144
Search vendor "Netgear" for product "R8500 Firmware" and version " < 1.0.2.144"
-
Affected
in Netgear
Search vendor "Netgear"
R8500
Search vendor "Netgear" for product "R8500"
--
Safe
Netgear
Search vendor "Netgear"
Rax200 Firmware
Search vendor "Netgear" for product "Rax200 Firmware"
< 1.0.2.88
Search vendor "Netgear" for product "Rax200 Firmware" and version " < 1.0.2.88"
-
Affected
in Netgear
Search vendor "Netgear"
Rax200
Search vendor "Netgear" for product "Rax200"
--
Safe
Netgear
Search vendor "Netgear"
Rax75 Firmware
Search vendor "Netgear" for product "Rax75 Firmware"
< 1.0.3.102
Search vendor "Netgear" for product "Rax75 Firmware" and version " < 1.0.3.102"
-
Affected
in Netgear
Search vendor "Netgear"
Rax75
Search vendor "Netgear" for product "Rax75"
--
Safe
Netgear
Search vendor "Netgear"
Rax80 Firmware
Search vendor "Netgear" for product "Rax80 Firmware"
< 1.0.3.102
Search vendor "Netgear" for product "Rax80 Firmware" and version " < 1.0.3.102"
-
Affected
in Netgear
Search vendor "Netgear"
Rax80
Search vendor "Netgear" for product "Rax80"
--
Safe
Netgear
Search vendor "Netgear"
Rbr750 Firmware
Search vendor "Netgear" for product "Rbr750 Firmware"
< 3.2.17.12
Search vendor "Netgear" for product "Rbr750 Firmware" and version " < 3.2.17.12"
-
Affected
in Netgear
Search vendor "Netgear"
Rbr750
Search vendor "Netgear" for product "Rbr750"
--
Safe
Netgear
Search vendor "Netgear"
Rbr850 Firmware
Search vendor "Netgear" for product "Rbr850 Firmware"
< 3.2.17.12
Search vendor "Netgear" for product "Rbr850 Firmware" and version " < 3.2.17.12"
-
Affected
in Netgear
Search vendor "Netgear"
Rbr850
Search vendor "Netgear" for product "Rbr850"
--
Safe
Netgear
Search vendor "Netgear"
Rbs40v Firmware
Search vendor "Netgear" for product "Rbs40v Firmware"
< 2.6.2.4
Search vendor "Netgear" for product "Rbs40v Firmware" and version " < 2.6.2.4"
-
Affected
in Netgear
Search vendor "Netgear"
Rbs40v
Search vendor "Netgear" for product "Rbs40v"
--
Safe
Netgear
Search vendor "Netgear"
Rbs750 Firmware
Search vendor "Netgear" for product "Rbs750 Firmware"
< 3.2.17.12
Search vendor "Netgear" for product "Rbs750 Firmware" and version " < 3.2.17.12"
-
Affected
in Netgear
Search vendor "Netgear"
Rbs750
Search vendor "Netgear" for product "Rbs750"
--
Safe
Netgear
Search vendor "Netgear"
Rbs850 Firmware
Search vendor "Netgear" for product "Rbs850 Firmware"
< 3.2.17.12
Search vendor "Netgear" for product "Rbs850 Firmware" and version " < 3.2.17.12"
-
Affected
in Netgear
Search vendor "Netgear"
Rbs850
Search vendor "Netgear" for product "Rbs850"
--
Safe
Netgear
Search vendor "Netgear"
Rs400 Firmware
Search vendor "Netgear" for product "Rs400 Firmware"
<= 1.5.0.68
Search vendor "Netgear" for product "Rs400 Firmware" and version " <= 1.5.0.68"
-
Affected
in Netgear
Search vendor "Netgear"
Rs400
Search vendor "Netgear" for product "Rs400"
--
Safe
Netgear
Search vendor "Netgear"
Wndr3400 Firmware
Search vendor "Netgear" for product "Wndr3400 Firmware"
< 1.0.1.38
Search vendor "Netgear" for product "Wndr3400 Firmware" and version " < 1.0.1.38"
-
Affected
in Netgear
Search vendor "Netgear"
Wndr3400
Search vendor "Netgear" for product "Wndr3400"
v3
Search vendor "Netgear" for product "Wndr3400" and version "v3"
-
Safe
Netgear
Search vendor "Netgear"
Wnr3500l Firmware
Search vendor "Netgear" for product "Wnr3500l Firmware"
< 1.2.0.66
Search vendor "Netgear" for product "Wnr3500l Firmware" and version " < 1.2.0.66"
-
Affected
in Netgear
Search vendor "Netgear"
Wnr3500l
Search vendor "Netgear" for product "Wnr3500l"
v2
Search vendor "Netgear" for product "Wnr3500l" and version "v2"
-
Safe
Netgear
Search vendor "Netgear"
Xr300 Firmware
Search vendor "Netgear" for product "Xr300 Firmware"
< 1.0.3.56
Search vendor "Netgear" for product "Xr300 Firmware" and version " < 1.0.3.56"
-
Affected
in Netgear
Search vendor "Netgear"
Xr300
Search vendor "Netgear" for product "Xr300"
--
Safe