Advisory Details

February 5th, 2024

(Pwn2Own) TP-Link Omada ER605 DHCPv6 Client Options Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-24-085
ZDI-CAN-22420

CVE ID CVE-2024-1179
CVSS SCORE 7.5, AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS TP-Link
AFFECTED PRODUCTS Omada ER605
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Omada ER605 routers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of DHCP options. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS

Fixed in firmware: ER605(UN)_V2_2.2.4 Build 20240119


DISCLOSURE TIMELINE
  • 2023-11-09 - Vulnerability reported to vendor
  • 2024-02-05 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT LJP (@ljp_tw) and YingMuo (@YingMuo), working with DEVCORE Internship Program
BACK TO ADVISORIES