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

Published May 23, 2024
·
Updated

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.

Affected Software

2 affected components
All of the following
TP-Link Omada Er605 Firmware=2.2.2-build_20231017
TP-Link Omada ER605=2.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    For TP-Link Omada ER605 devices, ensure they are not configured to use the Comexe DDNS service to avoid exposure to the vulnerability (ZDI-CAN-22522).

  2. Compensating control

    Limit network-adjacent access to the router’s DDNS-related functionality/management interfaces (only allow trusted sources) to reduce the chance an attacker can trigger the DDNS error-code flaw (ZDI-CAN-22522).

Event History

May 23, 2024
CVE Published
via MITRE·09:55 PM
Data Sourced
via MITRE·09:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 29, 2026
Advisory Published
via ZDI·08:52 AM
Data Sourced
via ZDI·08:52 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5242?

CVE-2024-5242 is considered a high severity vulnerability due to the potential for arbitrary code execution by network-adjacent attackers.

2

How do I fix CVE-2024-5242?

To mitigate CVE-2024-5242, disable the Comexe DDNS service on the affected TP-Link Omada ER605 routers.

3

Who is affected by CVE-2024-5242?

CVE-2024-5242 affects installations of TP-Link Omada ER605 routers configured to use the Comexe DDNS service.

4

Is authentication required to exploit CVE-2024-5242?

No, authentication is not required to exploit CVE-2024-5242, making it easier for attackers to exploit the vulnerability.

5

What type of attacks does CVE-2024-5242 enable?

CVE-2024-5242 enables network-adjacent attackers to execute arbitrary code, potentially compromising the affected router.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203