| शीर्षक | 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) |
|---|
| सबमिशन | 02/11/2026 11:56 AM (26 दिन पहले) |
|---|
| संयम | 28/11/2026 03:25 AM (26 days later) |
|---|
| स्थिति | प्रतिलिपि |
|---|
| VulDB प्रविष्टि | 411795 [TOTOLINK N150RT तक 3.4.0-B20201030 Port-Forwarding Configuration /boafrm/formPortFw ip_subnet/fw_ip बफ़र ओवरफ़्लो] |
|---|
| अंक | 0 |
|---|