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
Configurations

Configuration 1 (hide)

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

History

10 Mar 2022, 14:41

Type Values Removed Values Added
CPE cpe:2.3:o:tenda:ax3_firmware:16.03.12.10:*:*:*:*:*:*:*
cpe:2.3:h:tenda:ax3:-:*:*:*:*:*:*:*
CWE CWE-787
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
References (MISC) https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4 - (MISC) https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4 - Exploit, Third Party Advisory
First Time Tenda
Tenda ax3 Firmware
Tenda ax3

04 Mar 2022, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-03-04 14:15

Updated : 2023-12-10 14:22


NVD link : CVE-2021-46394

Mitre link : CVE-2021-46394

CVE.ORG link : CVE-2021-46394


JSON object : View

Products Affected

tenda

  • ax3
  • ax3_firmware
CWE
CWE-787

Out-of-bounds Write