cve/2021/CVE-2021-46393.md

18 lines
942 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2021-46393](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46393)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/sec-bin/IoT-CVE/tree/main/Tenda/AX3/3
#### Github
No PoCs found on GitHub currently.