CVE-2023-32140
JSON

7.5high

D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.78% (higher than 52% of CVEs)
Published
Last changed
Assigned by
zdi

Description

D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling requests to the /cgi-bin/webproc endpoint. When parsing the var:sys_Token parameter, the process does not properly validate 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-18418.

Affected

Product or packageVersionsReported by
D-Link DAP-13606.14B01 EU HOTFIXCVE List
dlink dap-1360up to v6.14b01CVE List
dlink dap-1360_firmwarebefore 6.15eub01NVD
dlink dap-2020_firmwarebefore 1.03rc004NVD

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
CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-121CWE-122

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

What each source says

CVE List

D-Link DAP-1360 webproc var:sys_Token Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1360 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling requests to the /cgi-bin/webproc endpoint. When parsing the var:sys_Token parameter, the process does not properly validate 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-18418.

NVD (es)

D-Link DAP-1360 webproc var:sys_Token Vulnerabilidad de ejecución remota de código de desbordamiento de búfer de almacenamiento dinámico. Esta vulnerabilidad permite a atacantes adyacentes a la red ejecutar código arbitrario en instalaciones afectadas de enrutadores D-Link DAP-1360. No se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe en el manejo de solicitudes al endpoint /cgi-bin/webproc. Al analizar el parámetro var:sys_Token, el proceso no valida correctamente 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-18418.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-32140 changed 2025-02-05CVE Terms of Use
NVDCVE-2023-32140 changed 2026-06-17Public domain