Skip to main content
EPSS 90.9%top 0.20%

CVE-2025-34037: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Linksys E4200

0
Critical
VulnerabilityCVE-2025-34037cvecve-2025-34037cwe-78
Published: 06/24/2025 (06/24/2025, 01:03:27 UTC)
Source: CVE Database V5
Vendor/Project: Linksys
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 21:47:14 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses