{
  "id": "CVE-2025-34037",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-34037",
  "published_at": "2025-06-24T01:03:27.693Z",
  "title": "Linksys Routers E/WAG/WAP/WES/WET/WRT-Series",
  "vendor": "Linksys",
  "product": "E4200",
  "cvss": {
    "score": 10,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-26T21:55:13Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 275.9,
    "repo": "Taxanehh/CVE-2025-34037",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": {
    "category": "Router / network device",
    "confidence": "high",
    "reason": "known edge product: Linksys E4200 Linksys Routers E/WAG/WAP/WES/WET/WRT-Series"
  },
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "Taxanehh/CVE-2025-34037",
      "url": "https://github.com/Taxanehh/CVE-2025-34037",
      "created_at": "2026-03-26T21:55:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-01-15T14:36:16Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linksys",
        "product": "E4200",
        "ranges": [
          "\u003c 1.0.06"
        ],
        "fixed_in": [
          "1.0.06"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E3200",
        "ranges": [
          "\u003c 1.0.05"
        ],
        "fixed_in": [
          "1.0.05"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E3000",
        "ranges": [
          "\u003c 1.0.06"
        ],
        "fixed_in": [
          "1.0.06"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E2500 v1/v2",
        "ranges": [
          "\u003c 2.0.00"
        ],
        "fixed_in": [
          "2.0.00"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E2100L v1",
        "ranges": [
          "\u003c= 1.0.05"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Linksys",
        "product": "E2000",
        "ranges": [
          "0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Linksys",
        "product": "E1550",
        "ranges": [
          "\u003c= 1.0.03"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Linksys",
        "product": "E1500 v1",
        "ranges": [
          "\u003c 1.0.06"
        ],
        "fixed_in": [
          "1.0.06"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E1200 v1",
        "ranges": [
          "\u003c= 1.0.04"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Linksys",
        "product": "E1000 v1",
        "ranges": [
          "\u003c 2.1.03"
        ],
        "fixed_in": [
          "2.1.03"
        ]
      },
      {
        "vendor": "Linksys",
        "product": "E900 v1",
        "ranges": [
          "\u003c 1.0.04"
        ],
        "fixed_in": [
          "1.0.04"
        ]
      }
    ],
    "upgrade": [
      "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."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/31683",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/linksys_themoon_exec.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Linksys E-Series TheMoon Remote Command Injection (exploit/linux/http/linksys_themoon_exec)",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/hndUnblock.cgi",
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic (admin:any)"
        }
      ],
      "body_markers": [
        "ttcp_ip=-h `{var}`",
        "StartEPI=1",
        "ttcp_num=2",
        "ttcp_size=2"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80,
        8080
      ],
      "protocol": "http",
      "repos": [
        "Taxanehh/CVE-2025-34037"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "Taxanehh/CVE-2025-34037/exploit.py:6",
        "Taxanehh/CVE-2025-34037/exploit.py:18"
      ]
    },
    {
      "method": "POST",
      "path_template": "/tmUnblock.cgi",
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YWRtaW46VGhpc0NhbkJlQW55dGhpbmc="
        }
      ],
      "body_markers": [
        "submit_button=",
        "change_action=",
        "commit=0",
        "ttcp_num=2",
        "ttcp_size=2",
        "ttcp_ip=-h `{var}`",
        "StartEPI=1"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80,
        8080
      ],
      "protocol": "http",
      "repos": [
        "Taxanehh/CVE-2025-34037"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "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"
      ]
    }
  ],
  "rules": []
}
