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.
References
Link Resource
https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/3 Exploit Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2022-03-04T13:00:17

Updated: 2022-03-04T13:00:17

Reserved: 2022-01-18T00:00:00


Link: CVE-2021-46393

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2022-03-04T13:15:08.327

Modified: 2022-03-10T14:42:10.587


Link: CVE-2021-46393

JSON object: View

cve-icon Redhat Information

No data.

CWE