CVE-2024-5228
JSON

7.5high

TP-Link Omada ER605 Comexe DDNS Response Handling Heap-based Buffer Overflow Remote Code Execution Vulnerability

Severity
7.5high CVSS:3.0 by zdi
Exploit likelihood
0.53% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

Description

TP-Link Omada ER605 Comexe DDNS Response Handling Heap-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 DNS responses. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22383.

Affected

Product or packageVersionsReported by
TP-Link Omada ER6052.6_2.2.2 Build 20231017CVE List
tp-link omada_er6052.6_2.2.2-build-20231017CVE List
tp-link omada_er605_firmware2.2.2NVD

All scores

zdi7.5high CVSS:3.0CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

TP-Link Omada ER605 Comexe DDNS Response Handling Heap-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 DNS responses. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22383.

NVD (es)

TP-Link Omada ER605 Comexe DDNS Manejo de respuesta Vulnerabilidad de ejecución remota de código de desbordamiento de búfer basado en montón. 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 respuestas DNS. 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 montón de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la raíz. Era ZDI-CAN-22383.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-5228 changed 2024-08-01CVE Terms of Use
NVDCVE-2024-5228 changed 2026-06-17Public domain