Command Injection in TOTOLINK N150RT /boafrm/formWsc localPin
CVE-2025-3987 is a command injection vulnerability in TOTOLINK N150RT firmware version 3.4.0-B20190525. The flaw affects processing associated with the /boafrm/formWsc endpoint, where the localPin parameter is not properly neutralized before being used in command construction or execution. An attacker able to send crafted input to localPin can inject shell metacharacters or additional commands, resulting in unintended command execution on the device. Public technical details and a proof-of-concept exploit have been disclosed, and the issue is reported as remotely exploitable.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise confidentiality, integrity, and availability of the affected router. Because the flaw enables command injection on the device, an attacker may be able to execute arbitrary system commands in the context of the vulnerable service, alter device configuration, access sensitive information present on the router, disrupt networking functions, or render the device unstable or unavailable.
If you can’t patch tonight, do this now.
Until a fix is available, restrict remote access to the router management interface and specifically prevent untrusted networks from reaching the vulnerable web endpoint. Limit administration to trusted internal hosts, disable WAN-side management if enabled, and place the device behind network controls that block access to /boafrm/formWsc from unauthorized sources. Monitor for suspicious requests targeting the localPin parameter and for signs of unexpected command execution or configuration changes. If exposure cannot be reduced, replacement of the device is the safest mitigation.
Patch, then assume compromise.
Upgrade to a vendor-fixed firmware release if one becomes available from TOTOLINK. If no patched version is available, replace the affected TOTOLINK N150RT device running firmware 3.4.0-B20190525 with a supported alternative product or firmware version not affected by this issue. Validate that any replacement or updated firmware no longer exposes the vulnerable /boafrm/formWsc handling of the localPin parameter.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.