Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2021-46394: IoT-CVE/Tenda/AX3/4 at main · sec-bin/IoT-CVE

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.

CVE
#vulnerability#git

Tenda Router AX3 Vulnerability

This vulnerability lies in the /goform/SetPptpServerCfg page which influences the lastest version of Tenda Router AX3. (V16.03.12.10_CN)

Vulnerability description

There is a stack buffer overflow vulnerability in the formSetPPTPServer function.

The v13 variable is directly retrieved from the http request parameter endIp.

Then v13 will be splice to stack by function sscanf without any security check,which causes stack overflow.

image-20220117232304090

So by POSTing the page /goform/SetPptpServerCfg with proper endIp, the attacker can easily perform a Remote Code Execution with carefully crafted overflow data.

POC

import requests from pwn import *

url = “http://192.168.0.1/goform/SetPptpServerCfg”

endIp = “a” * 1024

r = requests.post(url, data={’endIp’: endIp}) print(r.content)

Timeline

  • 2022.01.17 report to CVE & CNVD

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda