Linksys E4200
Linksys Routers E/WAG/WAP/WES/WET/WRT-Series
Edge device · Router / network deviceknown edge product: Linksys E4200 Linksys Routers E/WAG/WAP/WES/WET/WRT-Series (high confidence)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.06
Fixed in 1.0.06
- < 1.0.05
Fixed in 1.0.05
- < 1.0.06
Fixed in 1.0.06
- < 2.0.00
Fixed in 2.0.00
- <= 1.0.05
- 0
- <= 1.0.03
- < 1.0.06
Fixed in 1.0.06
- <= 1.0.04
- < 2.1.03
Fixed in 2.1.03
- < 1.0.04
Fixed in 1.0.04
Mitigation
Upgrade E4200 to 1.0.06 or later.
Upgrade E3200 to 1.0.05 or later.
Upgrade E3000 to 1.0.06 or later.
Upgrade E2500 v1/v2 to 2.0.00 or later.
Upgrade E1500 v1 to 1.0.06 or later.
Upgrade E1000 v1 to 2.1.03 or later.
Upgrade E900 v1 to 1.0.04 or later.
Timeline
Days relative to CVE publicationFirst public PoC 276 days after publication; not in CISA KEV. First PoC: Taxanehh/CVE-2025-34037 (created 26 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Taxanehh/CVE-2025-34037 | 26 Mar 2026 +276 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://www.exploit-db.com/exploits/31683 | unknown | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Linksys E-Series TheMoon Remote Command Injection (exploit/linux/http/linksys_themoon_exec) | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /hndUnblock.cgi
- Key headers
Authorization: Basic (admin:any)- Body markers
ttcp_ip=-h `{var}`StartEPI=1ttcp_num=2ttcp_size=2inapplication/x-www-form-urlencoded- Ports
- 80, 8080
- Seen in
- 1 repo: Taxanehh/CVE-2025-34037
- Evidence
- Taxanehh/CVE-2025-34037/exploit.py:6 Taxanehh/CVE-2025-34037/exploit.py:18
POST /tmUnblock.cgi
- Key headers
Authorization: Basic YWRtaW46VGhpc0NhbkJlQW55dGhpbmc=- Body markers
submit_button=change_action=commit=0ttcp_num=2ttcp_size=2ttcp_ip=-h `{var}`StartEPI=1inapplication/x-www-form-urlencoded- Ports
- 80, 8080
- Seen in
- 1 repo: Taxanehh/CVE-2025-34037
- Evidence
- Taxanehh/CVE-2025-34037/exploit.py:47 Taxanehh/CVE-2025-34037/exploit.py:57 Taxanehh/CVE-2025-34037/exploit.py:64 Taxanehh/CVE-2025-34037/exploit.py:66
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/hndUnblock\.cgi(?:[?#].*)?$
(?i)^/tmUnblock\.cgi(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2025-34037 Linksys E4200 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/hndUnblock.cgi"; http.header; content:"Authorization: Basic (admin:any)"; nocase; http.request_body; content:"ttcp_ip=-h `"; http.request_body; content:"StartEPI=1"; http.request_body; content:"ttcp_num=2"; http.request_body; content:"ttcp_size=2"; reference:url,poc.griffinguard.io/cve/CVE-2025-34037; classtype:web-application-attack; sid:9245935; rev:1;)
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2025-34037 Linksys E4200 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/tmUnblock.cgi"; http.header; content:"Authorization: Basic YWRtaW46VGhpc0NhbkJlQW55dGhpbmc="; nocase; http.request_body; content:"submit_button="; http.request_body; content:"change_action="; http.request_body; content:"commit=0"; http.request_body; content:"ttcp_num=2"; http.request_body; content:"ttcp_size=2"; http.request_body; content:"ttcp_ip=-h `"; http.request_body; content:"StartEPI=1"; reference:url,poc.griffinguard.io/cve/CVE-2025-34037; classtype:web-application-attack; sid:9336340; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Linksys E4200 exploit attempt (CVE-2025-34037)
id: gg-pocmon-cve-2025-34037-9245935
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34037. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34037
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/hndUnblock.cgi'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34037
title: Linksys E4200 exploit attempt (CVE-2025-34037)
id: gg-pocmon-cve-2025-34037-9336340
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34037. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34037
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/tmUnblock.cgi'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34037