5.1medium
A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614B20230630 within the sysconf binary (sub401EE0 function).
- Severity
- 5.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 11% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
Description
A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614_B20230630 within the sysconf binary (sub_401EE0 function). The binary reads the /proc/stat file using fgets() into a local buffer and subsequently parses the line using sscanf() into a single-byte variable with the %s format specifier. Maliciously crafted /proc/stat content can overwrite adjacent stack memory, potentially allowing an attacker with filesystem write privileges to execute arbitrary code on the device.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| totolink a720r_firmware | 4.1.5cu.614_b20230630 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
A stack buffer overflow exists in the ToToLink A720R Router firmware V4.1.5cu.614_B20230630 within the sysconf binary (sub_401EE0 function). The binary reads the /proc/stat file using fgets() into a local buffer and subsequently parses the line using sscanf() into a single-byte variable with the %s format specifier. Maliciously crafted /proc/stat content can overwrite adjacent stack memory, potentially allowing an attacker with filesystem write privileges to execute arbitrary code on the device.
NVD (es)
Existe un desbordamiento de búfer de pila en el firmware del router ToToLink A720R V4.1.5cu.614_B20230630 dentro del binario sysconf (función sub_401EE0). El binario lee el archivo /proc/stat usando fgets() en un búfer local y posteriormente analiza la línea usando sscanf() en una variable de un solo byte con el especificador de formato %s. Contenido de /proc/stat creado maliciosamente puede sobrescribir la memoria de pila adyacente, lo que podría permitir a un atacante con privilegios de escritura en el sistema de archivos ejecutar código arbitrario en el dispositivo.
References
| https://www.totolink.net/ | product | |
| https://github.com/yifan20020708/SGTaint-0-day/blob/main/ToToLink/ToToLink-A720R/CVE-2025-60685.md | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-60685 changed 2026-07-05 | CVE Terms of Use |
| NVD | CVE-2025-60685 changed 2026-11-05 | Public domain |