| Title | TOTOLINK N150RT V3.4.0-B20201030 Stack Buffer Overflow |
|---|
| Description | 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/formFilter (access-control / URL filter configuration handler) and is triggered by the url request parameter when the addFilterUrl (or addFilterUrlFlag) action flag is set.
In the URL-filter rule-addition flow, the url parameter is copied into a fixed 36-byte stack buffer with an unbounded strcpy() — no length validation is performed:
k_5 = sub_40E9E0(a1, "url", ""); // request parameter, up to 4096 bytes
k_7 = k_5;
if ( !*k_5 ) goto LABEL_132; // non-empty required
while ( *k_7 ) *k_7++ = tolower(*k_7); // lowercase in place (length unchanged)
strcpy(k_4, k_5); // 0x4166C4 — k_4[36], UNBOUNDED copy
k_4[31] = v36; // byte 32 overwritten with urlFilterMode
Any url value longer than 35 bytes overflows k_4[36] and corrupts adjacent stack data; a sufficiently long value (verified at 1000 bytes) overwrites callee-saved registers and crashes the boa process. |
|---|
| Source | ⚠️ https://gist.github.com/H3rmesk1t/9e4bc190ee8130a3df5863c1c047766b |
|---|
| User | LiuYijun_JX.SGCC (UID 102035) |
|---|
| Submission | 11/02/2026 11:54 (26 days ago) |
|---|
| Moderation | 11/28/2026 03:24 (26 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 411666 [TOTOLINK Firmware 3.4.0-B20201030 Web Management Interface /boafrm/formFilter url stack-based overflow] |
|---|
| Points | 0 |
|---|