| Title | Totolink N300RT Router V3.4.0-B20250430 Buffer Overflow |
|---|
| Description | A stack-based buffer overflow vulnerability exists in the boa web server of the TOTOLINK N300RT router (firmware <= V3.4.0-B20250430). The vulnerability is located in the is_cmd_string_valid function within libapmib.so, which fails to validate the length of the localPin parameter in the /boafrm/formWsc endpoint. An authenticated attacker can bypass CSRF and token checks to send a crafted POST request with an oversized payload. This overflows a local buffer and overwrites the saved return address ($ra), leading to a Denial of Service (DoS) or potential Remote Code Execution (RCE). |
|---|
| Source | ⚠️ https://github.com/xiaohaiyang-ai/TOTOLINK-N300RT-Buffer-Overflow |
|---|
| User | xyhackr (UID 96769) |
|---|
| Submission | 04/10/2026 16:17 (3 months ago) |
|---|
| Moderation | 04/27/2026 17:29 (17 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 359818 [Totolink N300RT 3.4.0-B20250430 libapmib.so /boafrm/formWsc is_cmd_string_valid localPin buffer overflow] |
|---|
| Points | 20 |
|---|