CVE-2021-46393

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
https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/3 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/3 - Exploit, Third Party Advisory () https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/3 - Exploit, Third Party Advisory

Information

Published : 2022-03-04 13:15

Updated : 2024-11-21 06:34


NVD link : CVE-2021-46393

Mitre link : CVE-2021-46393

CVE.ORG link : CVE-2021-46393


JSON object : View

Products Affected

tenda

  • ax3
  • ax3_firmware
CWE
CWE-787

Out-of-bounds Write