CVE-2021-46394
There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10_CN.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.74%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.74% probability · 85th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- tenda/ax3 firmware
- Source
- cve@mitre.org
References
- https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4Exploit, Third Party Advisory
- https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/4Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.