Advisory Details

September 28th, 2021

NETGEAR R7800 net-cgi Out-Of-Bounds Write Remote Code Execution Vulnerability

ZDI-21-1116
ZDI-CAN-13055

CVE ID CVE-2021-34947
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS NETGEAR
AFFECTED PRODUCTS R7800
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R7800 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of the soap_block_table file. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated data structure. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS NETGEAR has issued an update to correct this vulnerability. More details can be found at:
https://kb.netgear.com/000064044/Security-Advisory-for-Pre-Authentication-Buffer-Overflow-on-Some-Routers-PSV-2021-0129
DISCLOSURE TIMELINE
  • 2021-05-26 - Vulnerability reported to vendor
  • 2021-09-28 - Coordinated public release of advisory
CREDIT Hoang Thach Nguyen of STAR Labs
BACK TO ADVISORIES