CVE-2023-50225
JSON

6.8medium

TP-Link TL-WR902AC dm_fillObjByStr Stack-based Buffer Overflow Remote Code Execution Vulnerability

Severity
6.8medium CVSS:3.0 by zdi
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi

Description

TP-Link TL-WR902AC dm_fillObjByStr Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR902AC routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the libcmm.so module. 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-21819.

Affected

Product or packageVersionsReported by
TP-Link TL-WR902AC0.9.1 0.3 v008a.0 Build 211025 Rel.76009n(5553)CVE List
tp-link tl-wr902ac_firmwarebefore TL-WR902AC(US)_V3_220804, 0.9.1_0.3_v008a.0CVE List, NVD

Classification

CWE-121

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

What each source says

CVE List

TP-Link TL-WR902AC dm_fillObjByStr Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR902AC routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the libcmm.so module. 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-21819.

NVD (es)

TP-Link TL-WR902AC dm_fillObjByStr Vulnerabilidad de ejecución remota de código de desbordamiento de búfer en la región stack de la memoria. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en las instalaciones afectadas de los enrutadores TP-Link TL-WR902AC. Se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe dentro del módulo libcmm.so. 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-21819.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-50225 changed 2024-09-18CVE Terms of Use
NVDCVE-2023-50225 changed 2026-06-17Public domain