| tiêu đề | TOTOLINK N150RT V3.4.0-B20201030 Stack Buffer Overflow |
|---|
| Mô tả | 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]. |
|---|
| Nguồn | ⚠️ https://gist.github.com/H3rmesk1t/0f2e6a120c92a37282779516b7e93e03 |
|---|
| Người dùng | LiuYijun_JX.SGCC (UID 102035) |
|---|
| Đệ trình | 02/11/2026 11:56 (cách đây 26 ngày) |
|---|
| Kiểm duyệt | 28/11/2026 03:25 (26 days later) |
|---|
| Trạng thái | Bản sao |
|---|
| Mục VulDB | 411795 [TOTOLINK N150RT đến 3.4.0-B20201030 Port-Forwarding Configuration /boafrm/formPortFw ip_subnet/fw_ip tràn bộ đệm] |
|---|
| điểm | 0 |
|---|