Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2025-3987: Command Injection in TOTOLINK N150RT /boafrm/formWsc localPin

Published Apr 27, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v4
EPSS11.3%96th percentile
CISA KEVNoNot listed
In the wildReported2 exploitation records in Mallory
Vendor
Totolink
IdentifiersCVE-2025-3987CWE-77 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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.

Mitigation

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.

Remediation

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
TotolinkN150rt Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2025-3987 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-3987?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2025-3987.
Is there a patch for CVE-2025-3987?
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.
What products are affected by CVE-2025-3987?
Totolink N150rt Firmware.
How severe is CVE-2025-3987?
CVE-2025-3987 has a CVSS v4 score of 5.3 (Medium) and an EPSS score of 11.3% (96th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.