Advisory Details

May 23rd, 2024

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

ZDI-24-501
ZDI-CAN-22522

CVE ID CVE-2024-5242
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. However, devices are vulnerable only if configured to use the Comexe DDNS service.

The specific flaw exists within the handling of DDNS error codes. 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
https://www.tp-link.com/en/support/download/er605/#Firmware


DISCLOSURE TIMELINE
  • 2023-11-09 - Vulnerability reported to vendor
  • 2024-05-23 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated
CREDIT Claroty Research - Team82 - Uri Katz, Noam Moshe, Tomer Goldschmidt, Sharon Brizinov
BACK TO ADVISORIES