| Titel | Tenda W20E US_W20EV4.0br_V15.11.0.6(1068_1546_841)_CN_TDC.bin Buffer Overflow |
|---|
| Beschreibung | 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=\"\")')" |
|---|
| Quelle | ⚠️ https://github.com/paueger/mycve/blob/main/Tenda_W20E/5.md |
|---|
| Benutzer | paxiot (UID 94927) |
|---|
| Einreichung | 25.06.2026 11:35 (vor 2 Monaten) |
|---|
| Moderieren | 14.08.2026 07:30 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 389957 [Tenda W20E 15.11.0.6(1068_1546_841)_CN_TDC /goform/addIpMacBind ipMacBindListStore IPMacBindRule Pufferüberlauf] |
|---|
| Punkte | 20 |
|---|