CVE-2021-46394

There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10_CN. The v13 variable is directly retrieved from the http request parameter startIp. Then v13 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/4 Exploit Third Party Advisory
https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:tenda:ax3_firmware:16.03.12.10:*:*:*:*:*:*:*
cpe:2.3:h:tenda:ax3:-:*:*:*:*:*:*:*

History

21 Nov 2024, 06:34

Type Values Removed Values Added
References () https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4 - Exploit, Third Party Advisory () https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4 - Exploit, Third Party Advisory

Information

Published : 2022-03-04 14:15

Updated : 2024-11-21 06:34


NVD link : CVE-2021-46394

Mitre link : CVE-2021-46394

CVE.ORG link : CVE-2021-46394


JSON object : View

Products Affected

tenda

  • ax3_firmware
  • ax3
CWE
CWE-787

Out-of-bounds Write