9.8critical
There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10CN.
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 15.9% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10_CN. The v10 variable is directly retrieved from the http request parameter startIp. Then v10 will be splice to stack by function sscanf without any security check,which causes stack overflow. By POSTing the page /goform/SetPptpServerCfg with proper startIp, the attacker can easily perform remote code execution with carefully crafted overflow data.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| tenda ax3_firmware | 16.03.12.10 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10_CN. The v10 variable is directly retrieved from the http request parameter startIp. Then v10 will be splice to stack by function sscanf without any security check,which causes stack overflow. By POSTing the page /goform/SetPptpServerCfg with proper startIp, the attacker can easily perform remote code execution with carefully crafted overflow data.
NVD (es)
Se presenta una vulnerabilidad de desbordamiento del buffer de pila en la función formSetPPTPServer del router Tenda-AX3 versión V16.03.12.10_CN. La variable v10 es recuperada directamente del parámetro startIp de la petición http. Entonces v10 será empalmada a la pila por la función sscanf sin ninguna comprobación de seguridad, lo que causa un desbordamiento de la pila. Al enviar por POST la página /goform/SetPptpServerCfg con la startIp apropiada, el atacante puede llevar a cabo fácilmente una ejecución de código remota con datos de desbordamiento cuidadosamente diseñados
References
| https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/3 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46393 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-46393 changed 2026-06-17 | Public domain |