| Title | Tenda W20E US_W20EV4.0br_V15.11.0.6(1068_1546_841)_CN_TDC.bin Buffer Overflow |
|---|
| Description | Tenda W20E firmware V4.0br_V15.11.0.6(1068_1546_841)_CN_TDC contains a stack-based buffer overflow in the formIPMacBindAdd -> ipMacBindListStore code path reachable via POST /goform/addIpMacBind. The attacker-controlled IPMacBindRule parameter is copied with strcpy into the fixed-size inputList.src[1024] stack buffer without length validation. Local testing reached strcpy@0x0006d770 with a 512-byte payload and the request returned HTTP 200 / body 1; a subsequent read from /goform/getIpMacBind showed corrupted IP/MAC binding fields, demonstrating externally visible configuration corruption caused by the overflow.
PoC:
curl -i 'http://192.168.0.1/goform/addIpMacBind' -b cookies.txt \
--data-urlencode "IPMacBindRule=$(python3 -c 'print((\"192.168.0.1\"*100)[:512], end=\"\")')" |
|---|
| Source | ⚠️ https://github.com/paueger/mycve/blob/main/Tenda_W20E/5.md |
|---|
| User | paxiot (UID 94927) |
|---|
| Submission | 06/25/2026 11:35 (2 months ago) |
|---|
| Moderation | 08/14/2026 07:30 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 389957 [Tenda W20E 15.11.0.6(1068_1546_841)_CN_TDC /goform/addIpMacBind ipMacBindListStore IPMacBindRule stack-based overflow] |
|---|
| Points | 20 |
|---|