Stack Buffer Overflow Vulnerability in Tenda-AX3 Router V16.03.12.10_CN

Stack Buffer Overflow Vulnerability in Tenda-AX3 Router V16.03.12.10_CN

CVE-2021-46393 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.