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 improper neutralization of special elements in OS commands (CWE-78) in various Linksys E-Series routers, specifically the E4200 model. The affected CGI scripts (/tmUnblock.cgi and /hndUnblock.cgi) accept user input via the ttcp_ip parameter without proper sanitization, enabling unauthenticated remote attackers to inject arbitrary shell commands. Exploitation has been observed in the wild, notably by the "TheMoon" worm in 2014, which used this flaw to execute a MIPS ELF payload on vulnerable devices. The vulnerability may also affect other Linksys router and access point models in the WAG, WAP, WES, WET, and WRT series. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, availability, and security controls. No patch or official remediation guidance is currently provided.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on affected Linksys routers, leading to full compromise of the device. This can result in complete loss of confidentiality, integrity, and availability of the router, enabling attackers to deploy malware, disrupt network operations, or use the device as a foothold for further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the router's HTTP management interface on port 8080 from untrusted networks. Disable or block access to the /tmUnblock.cgi and /hndUnblock.cgi endpoints if possible. Monitor for unusual network activity indicative of exploitation attempts.
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.
CVSS v4.0
Score 10.0critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of special elements in OS commands (CWE-78) in various Linksys E-Series routers, specifically the E4200 model. The affected CGI scripts (/tmUnblock.cgi and /hndUnblock.cgi) accept user input via the ttcp_ip parameter without proper sanitization, enabling unauthenticated remote attackers to inject arbitrary shell commands. Exploitation has been observed in the wild, notably by the "TheMoon" worm in 2014, which used this flaw to execute a MIPS ELF payload on vulnerable devices. The vulnerability may also affect other Linksys router and access point models in the WAG, WAP, WES, WET, and WRT series. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, availability, and security controls. No patch or official remediation guidance is currently provided.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary OS commands on affected Linksys routers, leading to full compromise of the device. This can result in complete loss of confidentiality, integrity, and availability of the router, enabling attackers to deploy malware, disrupt network operations, or use the device as a foothold for further attacks.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the router's HTTP management interface on port 8080 from untrusted networks. Disable or block access to the /tmUnblock.cgi and /hndUnblock.cgi endpoints if possible. Monitor for unusual network activity indicative of exploitation attempts.
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: 06/24/2025, 01:09:39 UTC
Last enriched: 07/22/2026, 21:47:14 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 262
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.