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 package | Versions | Reported by |
|---|---|---|
| D-Link DAP-1360 | 6.14B01 EU HOTFIX | CVE List |
| dlink dap-1360 | up to v6.14b01 | CVE List |
| dlink dap-1360_firmware | before 6.15eub01 | NVD |
| dlink dap-2020_firmware | before 1.03rc004 | 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 |
| CISA-ADP | 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
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-32140 changed 2025-02-05 | CVE Terms of Use |
| NVD | CVE-2023-32140 changed 2026-06-17 | Public domain |