CVE-2025-34037 in Foundation products
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 in...
Affects 2 products from 4 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Foundation | — | — |
| Linksys | E3000 (device and firmware) | < 1.0.06 |
| Mips | — | — |
| Scripts | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-34037 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-269694-I |
| Published | 2025-06-24 |
| Last modified | 2026-07-22 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An OS command injection vulnerability in Linksys E-Series routers and other models allows unauthenticated attackers to inject shell commands via the /tmUnblock.cgi and /hndUnblock.cgi endpoints. This vulnerability was exploited by the 'TheMoon' worm in 2014 and has a high likelihood of exploitation based on the EPSS score. Immediate action is required to mitigate the risk of arbitrary code execution and potential compromise of the network.
The vulnerability exists in the /tmUnblock.cgi and /hndUnblock.cgi CGI scripts, which do not properly sanitize user-supplied input to the ttcp_ip parameter. This allows unauthenticated attackers to inject and execute arbitrary shell commands on the affected routers. The vulnerability is accessible over HTTP on port 8080.
Compensating controls AI-drafted, review before use
Implement network segmentation to isolate affected devices from critical systems. Apply strict access controls and monitor for unusual activity on the affected endpoints.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-34037?
An OS command injection vulnerability in Linksys E-Series routers and other models allows unauthenticated attackers to inject shell commands via the /tmUnblock.cgi and /hndUnblock.cgi endpoints. This vulnerability was exploited by the 'TheMoon' worm in 2014 and has a high likelihood of exploitation based on the EPSS score. Immediate action is required to mitigate the risk of arbitrary code execution and potential compromise of the network.
Is CVE-2025-34037 actively exploited?
Public exploit available for CVE-2025-34037. Exploitation risk elevated.
How do I remediate CVE-2025-34037?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-34037?
CVE-2025-34037 affects Foundation; Linksys E3000; Mips; Scripts.
What NERC-CIP standard applies to CVE-2025-34037?
NERC CIP CIP-007 CIP-007-R2: This vulnerability allows unauthenticated access to critical systems, violating the requirement for secure access controls and monitoring of electronic access to control systems.
What IEC 62443 requirement maps to CVE-2025-34037?
IEC 62443 SR 7.6: This vulnerability exposes the system to unauthorized command execution, which is a direct violation of the requirement for secure software development and input validation to prevent injection attacks.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Foundation","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-22.