CVE-2021-27239: NETGEAR Multiple Routers SSDP Stack-based Buffer Overflow Remote Code Execution Vulnerability
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.
Other sources
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-27239?
CVE-2021-27239 has been rated as high severity because it allows unauthenticated remote code execution on vulnerable NETGEAR routers.
How do I fix CVE-2021-27239?
To address CVE-2021-27239, users should update their affected NETGEAR router firmware to the latest version provided by NETGEAR.
Which NETGEAR devices are affected by CVE-2021-27239?
CVE-2021-27239 affects multiple NETGEAR router models including R6400 and R6700 with specific firmware versions.
Is authentication required to exploit CVE-2021-27239?
No, authentication is not required to exploit CVE-2021-27239, making it particularly dangerous.
What type of attack can occur due to CVE-2021-27239?
CVE-2021-27239 allows network-adjacent attackers to execute arbitrary code, leading potentially to a complete compromise of the affected devices.