NetGear · Netgear R6260 · CVE-2021-34980
**Name of the Vulnerable Software and Affected Versions**
NETGEAR R6260 version 1.1.0.78 1.0.1
**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 setupwizard.cgi page, specifically when parsing the `SOAP LOGIN TOKEN` environment variable. The process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer, leading to a stack-based buffer overflow. An attacker can leverage this issue to execute code in the context of root.
**Recommendations**
For NETGEAR R6260 version 1.1.0.78 1.0.1, as a temporary workaround, consider disabling access to the setupwizard.cgi page until a patch is available. Restrict access to the `SOAP LOGIN TOKEN` environment variable to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this issue.