| タイトル | TOTOLINK N150RT V3.4.0-B20201030 Stack Buffer Overflow |
|---|
| 説明 | A stack-based buffer overflow vulnerability exists in the web management interface of TOTOLINK N150RT (NTR150) firmware V3.4.0-B20201030. It is reachable through the route /boafrm/formPortFw (port-forwarding configuration handler) and is triggered by the ip_subnet and fw_ip request parameters during the rule-addition flow.
When addPortFw is set, the handler concatenates ip_subnet and fw_ip into a fixed 32-byte stack buffer with an unbounded sprintf():
v15 = sub_40E9E0(a1, "ip_subnet", ""); // request parameter, no length limit
v14 = sub_40E9E0(a1, "fw_ip", ""); // request parameter, no length limit
...
sprintf(v34, "%s%s", v15, v14); // 0x4159B4 — v34[32], UNBOUNDED concat
inet_aton(v34, v36); // subsequent parse (fails on long input)
The combined length of ip_subnet + fw_ip exceeding 31 bytes overflows v34[32]. |
|---|
| ソース | ⚠️ https://gist.github.com/H3rmesk1t/0f2e6a120c92a37282779516b7e93e03 |
|---|
| ユーザー | LiuYijun_JX.SGCC (UID 102035) |
|---|
| 送信 | 2026年11月02日 11:56 (26 日 ago) |
|---|
| モデレーション | 2026年11月28日 03:25 (26 days later) |
|---|
| ステータス | 重複 |
|---|
| VulDBエントリ | 411795 [TOTOLINK N150RT 迄 3.4.0-B20201030 Port-Forwarding Configuration /boafrm/formPortFw ip_subnet/fw_ip メモリ破損] |
|---|
| ポイント | 0 |
|---|