CVE-2021-46394: Buffer Overflow
There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10CN. 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.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this stack buffer overflow vulnerability?
The vulnerability ID for this stack buffer overflow vulnerability is CVE-2021-46394.
What is the affected software for this vulnerability?
The affected software for this vulnerability is Tenda-AX3 router V16.03.12.10_CN.
What is the severity of CVE-2021-46394?
The severity of CVE-2021-46394 is critical.
How does the vulnerability occur?
The vulnerability occurs due to a stack buffer overflow in the formSetPPTPServer function of the Tenda-AX3 router V16.03.12.10_CN.
Is there a fix for this vulnerability?
There is currently no official fix available for this vulnerability. It is recommended to update to a secure version of the firmware if one becomes available.