Submit #802127: Totolink N300RT Router V3.4.0-B20250430 Buffer Overflowinfo

TitleTotolink N300RT Router V3.4.0-B20250430 Buffer Overflow
DescriptionA 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)
Submission04/10/2026 16:17 (3 months ago)
Moderation04/27/2026 17:29 (17 days later)
StatusAccepted
VulDB entry359818 [Totolink N300RT 3.4.0-B20250430 libapmib.so /boafrm/formWsc is_cmd_string_valid localPin buffer overflow]
Points20

Interested in the pricing of exploits?

See the underground prices here!