ZeroHour

CVE-2025-34037

mass

Unauthenticated OS Command Injection in Linksys E-Series Routers

CVSS 4.0
10.0 critical
EPSS
91%p100
Published
()
Modified
AI analysis

CVE-2025-34037 is an unauthenticated OS command injection flaw (CWE-78) in the /tmUnblock.cgi and /hndUnblock.cgi CGI scripts of various Linksys E-Series routers, reachable over HTTP on port 8080. An attacker sends HTTP requests with a crafted ttcp_ip parameter, which the scripts pass to the shell without sanitization, allowing injected shell commands to run on the device. Successful exploitation yields arbitrary command and code execution on the router — the 2014 "TheMoon" worm used this flaw to drop a MIPS ELF payload — enabling device takeover, persistence, or botnet enrollment. Various E-Series models are affected, and the flaw may also extend to other Linksys WAG/WAP/WES/WET/WRT-series routers and Wireless-N access points/routers. Exploitation was observed in the wild as recently as 2025-02-06 by the Shadowserver Foundation (and famously by TheMoon in 2014); the flaw carries a maximum-severity CVSS 4.0 score of 10 and a top-percentile 90.9% EPSS, related news of the RondoDox botnet targeting 56 flaws across 30+ device types underscores ongoing botnet pressure on router-class devices, and it is not yet listed in CISA KEV.

What to do: Identify whether any Linksys router on your networks exposes its port 8080 HTTP management interface from untrusted/WAN networks and check whether /tmUnblock.cgi or /hndUnblock.cgi responds; if so, block or restrict port 8080 (or disable remote administration) until vendor firmware updates become available — no fixed version is specified in the available data. Hunt for signs of compromise consistent with TheMoon-style MIPS ELF payloads, such as unexpected processes or services, added backdoor listeners, and anomalous outbound traffic, and prioritize patching given the top-percentile EPSS (90.9%) and fresh in-the-wild exploitation.

Affected
Linksys E-Series routers (various models; vulnerable /tmUnblock.cgi and /hndUnblock.cgi CGI endpoints over HTTP on port 8080)
Linksys Other router series and Wireless-N access points/routers (WAG/WAP/WES/WET/WRT-series; potentially affected, not limited
Estimated exposure
massOver 1M devices plausibly affected (Linksys E-Series sold in the millions during the early 2010s); the currently internet-exposed population is likely in the… — Estimated from the mass-market scale and long service life of the E-Series consumer router line (millions of units shipped, legacy devices commonly left unpatched or WAN-exposed), corroborated by fresh 2025 exploitation telemetry from the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-78
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news