CVE-2025-60687: Unauthenticated Command Injection in ToToLink LR1200GB Router cstecgi.cgi
- Vendor
- Totolink
CVE-2025-60687 is an unauthenticated OS command injection vulnerability in ToToLink LR1200GB Router firmware V9.1.0u.6619_B20230130. The flaw is present in the cstecgi.cgi binary, specifically the sub_41EC68 function, which processes the "imei" parameter from an HTTP request. The implementation validates only that the supplied IMEI value is 15 characters long, but does not safely sanitize or neutralize shell metacharacters before constructing a command string with sprintf() and executing it via system(). As a result, an attacker can supply a crafted 15-character IMEI value that injects arbitrary shell commands, leading to command execution on the device without authentication.
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 allows a remote, unauthenticated attacker to execute arbitrary operating system commands on the router. This can result in full compromise of the device, including modification of configuration, installation of persistent malware, interception or redirection of network traffic, use of the router as a pivot point into internal networks, denial of service, and potential exposure of sensitive data handled by the device.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the router's web management interface to trusted administrative networks only, and disable remote administration from untrusted networks or the Internet. Place the management interface behind network-layer access controls such as firewall rules or VPN-only access. Monitor the device for unexpected process execution, configuration changes, or outbound connections indicative of compromise. If exposure cannot be reduced and no vendor fix is available, consider replacing the affected firmware or device.
Remediation
Patch, then assume compromise.
Upgrade to a vendor-fixed firmware version if one is available. The vulnerable code path should be corrected by eliminating shell-based command construction for user-controlled input, avoiding use of system() where possible, and replacing sprintf()-based command assembly with safe APIs that do not invoke a shell. Input handling for the "imei" parameter should enforce strict allowlisting of expected numeric IMEI content rather than length-only validation. If no patch is available, the information currently available does not identify a fixed version.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
Frequently asked questions
- Is CVE-2025-60687 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-60687?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2025-60687.
- Is there a patch for CVE-2025-60687?
- Upgrade to a vendor-fixed firmware version if one is available. The vulnerable code path should be corrected by eliminating shell-based command construction for user-controlled input, avoiding use of system() where possible, and replacing sprintf()-based command assembly with safe APIs that do not invoke a shell.
- What products are affected by CVE-2025-60687?
- Totolink Lr1200gb Firmware.
- How severe is CVE-2025-60687?
- CVE-2025-60687 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 6.6% (94th percentile) as of Sep 25, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.