CVE-2023-27333
JSON

6.8medium

TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability

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

Description

TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of command 0x422 provided to the tmpServer service. 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-19905.

Affected

Product or packageVersionsReported by
TP-Link Archer AX211.1.3 Build 20221125CVE List
tp-link archer_ax21-CVE List
tp-link archer_ax21_firmware1.1.3NVD

Classification

CWE-121

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

What each source says

CVE List

TP-Link Archer AX21 tmpServer Command 0x422 Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer AX21 routers. Authentication is required to exploit this vulnerability. The specific flaw exists within the handling of command 0x422 provided to the tmpServer service. 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-19905.

NVD (es)

TP-Link Archer AX21 tmpServer Command 0x422 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 Archer AX21. Se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe en el manejo del comando 0x422 proporcionado al servicio tmpServer. 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-19905.

References

Sources

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