Advisory Details

February 24th, 2021

(Pwn2Own) NETGEAR R7800 udchpd DHCP_REQUEST Command Injection Remote Code Execution Vulnerability

ZDI-21-248
ZDI-CAN-12216

CVE ID CVE-2021-27252
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. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of the vendor_specific DHCP opcode. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. 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/000062883/Security-Advisory-for-Multiple-Vulnerabilities-on-Some-Routers-Satellites-and-Extenders
DISCLOSURE TIMELINE
  • 2020-11-05 - Vulnerability reported to vendor
  • 2021-02-24 - Coordinated public release of advisory
CREDIT atdog (@atdog_tw)
BACK TO ADVISORIES