7.5high
TP-Link Omada ER605 Stack-based Buffer Overflow Remote Code Execution Vulnerability
- Severity
- 7.5high CVSS:3.0 by zdi
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- zdi
Description
TP-Link Omada ER605 Stack-based Buffer Overflow Remote Code Execution Vulnerability. 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. Was ZDI-CAN-22522.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TP-Link Omada ER605 | 2.6_2.2.2 Build 20231017 | CVE List |
| tp_link omada_er605 | 2.6_2.2.2_build_20231017 | CVE List |
| tp-link omada_er605_firmware | 2.2.2 | NVD |
All scores
| zdi | 7.5high CVSS:3.0 | CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
TP-Link Omada ER605 Stack-based Buffer Overflow Remote Code Execution Vulnerability. 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. Was ZDI-CAN-22522.
NVD (es)
Vulnerabilidad de ejecución remota de código de desbordamiento de búfer en la región stack de la memoria TP-Link Omada ER605. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en las instalaciones afectadas de los enrutadores TP-Link Omada ER605. No se requiere autenticación para aprovechar esta vulnerabilidad. Sin embargo, los dispositivos son vulnerables sólo si están configurados para utilizar el servicio DDNS de Comexe. La falla específica existe en el manejo de códigos de error DDNS. El problema se debe a la falta de una validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos en un búfer basado en pila de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la raíz. Era ZDI-CAN-22522.
References
| https://www.zerodayinitiative.com/advisories/ZDI-24-501/ | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-5242 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-5242 changed 2026-06-17 | Public domain |