PT-2021-17345 · NetGear · Netgear R6400+1

Published

2021-02-24

·

Updated

2021-04-02

·

CVE-2021-27239

CVSS v3.1

8.8

High

VectorAV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: NETGEAR R6400 and R6700 firmware version 1.0.4.98
Description: This issue allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR routers. Authentication is not required to exploit this issue. 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 issue to execute code in the context of root.
Recommendations: For NETGEAR R6400 and R6700 firmware version 1.0.4.98, as a temporary workaround, consider disabling the upnpd service until a patch is available. Restrict access to UDP port 1900 to minimize the risk of exploitation. Avoid using crafted MX header fields in SSDP messages until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.

Fix

Stack Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-27239
ZDI-21-206

Affected Products

Netgear R6400
Netgear R6700