Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2025-34037: Unauthenticated OS Command Injection in Linksys E-Series Routers

Published Jun 24, 2025 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
CVSS10.0Critical · v4
EPSS54.4%99th percentile
CISA KEVNoNot listed
In the wildReported274 exploitation records in Mallory
Vendor
Linksys
IdentifiersCVE-2025-34037CWE-78 · Improper Neutralization of Special…

CVE-2025-34037 is an OS command injection vulnerability affecting multiple Linksys E-Series routers. Two CGI handlers exposed over HTTP on TCP port 8080 process the user-controlled ttcp_ip parameter without sanitization, allowing unauthenticated remote attackers to inject and execute arbitrary shell commands. Additional Linksys WAG, WAP, WES, WET, and WRT products and Wireless-N access points and routers may also be affected, although their precise affected versions are not established. TheMoon worm exploited the vulnerability in 2014 to deploy a MIPS ELF payload, and exploitation evidence was observed again on February 6, 2025. Cling and ClingSTUN also incorporate exploit logic for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of the affected router through arbitrary command execution. Attackers can deploy malware, alter accessible configuration and data, and disrupt device operation within the privileges of the vulnerable CGI process. Historical exploitation deployed TheMoon malware; later botnet tooling incorporates the vulnerability for propagation. Proxying, tunneling, and attacks against other systems are possible follow-on uses of a compromised device, rather than inherent capabilities of the vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Disable unnecessary remote-management services and prevent untrusted access to the HTTP service on TCP port 8080. Where the service must remain enabled, restrict access to trusted administrative networks using firewall rules or access controls. Segment vulnerable devices from sensitive systems and replace or isolate unsupported equipment. Monitor for exploitation attempts and unexpected outbound connections; isolate devices showing signs of compromise.

Remediation

Patch, then assume compromise.

Apply vendor-supported firmware that explicitly addresses this vulnerability for the exact model and hardware revision. A complete, verified fixed-version matrix is not available; upper bounds in affected-version entries should not alone be treated as confirmation of a fix. Replace unsupported devices when corrected firmware is unavailable. Investigate exposed devices for existing compromise, since firmware updates alone may not remove deployed malware or persistence.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
linksys_themoon_exec.rbThis repository contains a single Metasploit module (modules/exploits/linux/http/linksys_themoon_exec.rb) that exploits a remote command injection vulnerability (CVE-2025-34037) in several Linksys E-Series routers. The exploit targets the /tmUnblock.cgi endpoint, which is accessible without authentication, and injects commands via the 'ttcp_ip' POST parameter. The module uses Metasploit's CmdStager to deliver staged payloads, typically resulting in a remote shell on the device. The exploit is weaponized, supporting both MIPS little-endian and big-endian architectures, and is effective against a range of Linksys routers, with E1500 v1.0.5 specifically tested. The code is structured as a standard Metasploit module, leveraging the HttpClient and CmdStager mixins for network communication and payload delivery.Disclosed Feb 13, 2014 · Framework: metasploit · ruby · networkWeaponizedCVE-2025-34037This repository is a small standalone Python exploit for unauthenticated command injection/RCE against vulnerable Linksys router CGI endpoints, primarily tmUnblock.cgi, with hndUnblock.cgi noted as an alternative. The repository contains only two files: a README describing the vulnerability, affected models, and usage, and a single executable script, exploit.py, which is the main entry point. The exploit works by crafting raw HTTP POST requests to the vulnerable CGI endpoint and injecting shell commands through the ttcp_ip form parameter. It percent-encodes the POST body, includes a Basic Authorization header with arbitrary credentials, and sends the request directly over a TCP socket to the target web service on port 80. The script first removes any previous payload from /tmp/c0d3z, then uploads an embedded base64-encoded MIPS little-endian ELF bind shell in 20-byte chunks using repeated echo -en commands with octal byte escapes. After staging, it chmods the file to make it executable, runs it via another injected command, waits briefly, and then connects to the bind shell on TCP port 4444. Capabilities include unauthenticated remote code execution, payload staging to the target filesystem, permission modification, payload execution, and an interactive post-exploitation shell over the bind socket. The exploit is operational rather than a simple proof of concept because it contains a complete hardcoded payload and an interactive shell handler. No external C2 infrastructure is used; all communication is direct between the attacker and the target router. The main fingerprintable artifacts are the vulnerable CGI paths, the temporary payload file /tmp/c0d3z, the default target IP 192.168.8.100, and the bind shell listener on port 4444.Taxanehh · Disclosed Mar 26, 2026 · python · markdown · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinksysE1000application
LinksysE1200application
LinksysE1500application
LinksysE2000hardware
LinksysE2500application
LinksysE3000hardware
FAQ

Frequently asked questions

Is CVE-2025-34037 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2025-34037?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2025-34037, the earliest disclosed Feb 13, 2014.
Is there a patch for CVE-2025-34037?
Apply vendor-supported firmware that explicitly addresses this vulnerability for the exact model and hardware revision. A complete, verified fixed-version matrix is not available; upper bounds in affected-version entries should not alone be treated as confirmation of a fix.
What products are affected by CVE-2025-34037?
Linksys E1000, Linksys E1200, Linksys E1500, Linksys E2000, Linksys E2500, and 1 more.
How severe is CVE-2025-34037?
CVE-2025-34037 has a CVSS v4 score of 10.0 (Critical) and an EPSS score of 54.4% (99th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+11 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware16Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity10Community discussion across Reddit, Mastodon, and other social sources.