CVE-2025-34037: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Linksys E4200
An OS command injection vulnerability exists in various models of E-Series Linksys routers via the /tmUnblock.cgi and /hndUnblock.cgi endpoints over HTTP on port 8080. The CGI scripts improperly process user-supplied input passed to the ttcp_ip parameter without sanitization, allowing unauthenticated attackers to inject shell commands. This vulnerability was reported to be exploited in the wild by the "TheMoon" worm in 2014 to deploy a MIPS ELF payload, enabling arbitrary code execution on the router. Additionally, this vulnerability may affect other Linksys products to include, but not limited to, WAG/WAP/WES/WET/WRT-series router models and Wireless-N access points and routers. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-06 UTC.
AI Analysis
Technical Summary
This vulnerability involves OS command injection (CWE-78) in various Linksys E-Series routers, including the E4200 model, through the /tmUnblock.cgi and /hndUnblock.cgi CGI endpoints. The issue stems from insufficient input validation of the ttcp_ip parameter, which is passed to system shell commands without proper neutralization. Attackers can exploit this to execute arbitrary commands remotely without authentication. The vulnerability was actively exploited by the "TheMoon" worm in 2014, which targeted these routers to deploy malicious MIPS ELF binaries. The Shadowserver Foundation observed exploitation activity in early 2025. While other Linksys router models and Wireless-N access points may also be affected, no vendor patch or official fix has been published to date.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on vulnerable Linksys routers, leading to full compromise of the device. This can result in unauthorized control, persistent malware installation, and potential network pivoting. The vulnerability has been confirmed exploited in the wild, demonstrating active threat. The critical CVSS score of 10 reflects the high impact and ease of exploitation without any required privileges or user interaction.
Mitigation Recommendations
No official patch or remediation has been published by Linksys as of the current information. Users should monitor vendor advisories for updates. Until a fix is available, it is recommended to restrict access to the router's HTTP port 8080 interface from untrusted networks and disable remote management features if enabled. Network-level controls such as firewall rules to block external access to these CGI endpoints can reduce exposure. Consider replacing affected devices with updated models if possible. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2025-34037: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Linksys E4200
Description
An OS command injection vulnerability exists in various models of E-Series Linksys routers via the /tmUnblock.cgi and /hndUnblock.cgi endpoints over HTTP on port 8080. The CGI scripts improperly process user-supplied input passed to the ttcp_ip parameter without sanitization, allowing unauthenticated attackers to inject shell commands. This vulnerability was reported to be exploited in the wild by the "TheMoon" worm in 2014 to deploy a MIPS ELF payload, enabling arbitrary code execution on the router. Additionally, this vulnerability may affect other Linksys products to include, but not limited to, WAG/WAP/WES/WET/WRT-series router models and Wireless-N access points and routers. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-06 UTC.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves OS command injection (CWE-78) in various Linksys E-Series routers, including the E4200 model, through the /tmUnblock.cgi and /hndUnblock.cgi CGI endpoints. The issue stems from insufficient input validation of the ttcp_ip parameter, which is passed to system shell commands without proper neutralization. Attackers can exploit this to execute arbitrary commands remotely without authentication. The vulnerability was actively exploited by the "TheMoon" worm in 2014, which targeted these routers to deploy malicious MIPS ELF binaries. The Shadowserver Foundation observed exploitation activity in early 2025. While other Linksys router models and Wireless-N access points may also be affected, no vendor patch or official fix has been published to date.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on vulnerable Linksys routers, leading to full compromise of the device. This can result in unauthorized control, persistent malware installation, and potential network pivoting. The vulnerability has been confirmed exploited in the wild, demonstrating active threat. The critical CVSS score of 10 reflects the high impact and ease of exploitation without any required privileges or user interaction.
Mitigation Recommendations
No official patch or remediation has been published by Linksys as of the current information. Users should monitor vendor advisories for updates. Until a fix is available, it is recommended to restrict access to the router's HTTP port 8080 interface from untrusted networks and disable remote management features if enabled. Network-level controls such as firewall rules to block external access to these CGI endpoints can reduce exposure. Consider replacing affected devices with updated models if possible. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.546Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6859fad3dec26fc862d8c385
Added to database: 6/24/2025, 1:09:39 AM
Last enriched: 4/7/2026, 10:58:22 PM
Last updated: 5/8/2026, 11:59:12 AM
Views: 171
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.