Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13658

CVE-2025-13658: Longwatch Devices RCE Vulnerability

CVE-2025-13658 is a remote code execution vulnerability in Longwatch devices that allows unauthenticated attackers to execute arbitrary code with SYSTEM privileges. This post covers technical details, affected versions, and mitigations.

Updated:

CVE-2025-13658 Overview

CVE-2025-13658 is a critical code execution vulnerability affecting Longwatch devices. The flaw allows unauthenticated attackers to send HTTP GET requests to an exposed endpoint and execute arbitrary code on the target device. Successful exploitation yields SYSTEM-level privileges, granting full control over the affected system.

The root cause is the absence of code signing and execution controls on the exposed endpoint. No authentication, user interaction, or prior access is required to exploit the device. CISA published advisory ICSA-25-336-01 covering this issue, and the weakness is categorized as Improper Control of Generation of Code [CWE-94].

Critical Impact

Unauthenticated network attackers can execute arbitrary code with SYSTEM privileges on Longwatch devices through a single HTTP GET request.

Affected Products

  • Longwatch devices (refer to CISA advisory ICSA-25-336-01 for specific affected models and firmware versions)

Discovery Timeline

  • 2025-12-02 - CVE-2025-13658 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-13658

Vulnerability Analysis

The vulnerability resides in an HTTP endpoint exposed by Longwatch devices. The endpoint accepts HTTP GET requests without requiring authentication. Attackers can supply code that the device subsequently executes with SYSTEM-level privileges.

The issue is classified under [CWE-94] (Improper Control of Generation of Code, also known as Code Injection). The device fails to validate or restrict what code can be loaded and executed through this interface. There is no enforcement of code signing, no integrity check, and no execution policy that would prevent arbitrary payloads from running.

Because the attack vector is network-based and requires no privileges or user interaction, the attack surface is broad. Any attacker who can reach the device over the network can trigger full compromise. EPSS data places the current exploitation probability at 0.091% (percentile 25.456), but the absence of authentication makes opportunistic scanning a realistic threat once exploit details circulate.

Root Cause

The root cause is missing security controls on an internet-facing or network-reachable HTTP endpoint. The endpoint lacks two layers of defense: authentication that would restrict who can submit requests, and code signing or execution controls that would restrict what code the device will run. Combined, these omissions allow any HTTP GET request to drive arbitrary code execution.

Attack Vector

An attacker reaches the affected Longwatch device over the network and issues a crafted HTTP GET request to the vulnerable endpoint. The device processes the request, executes the attacker-supplied code, and returns control of the system with SYSTEM-level privileges. No verified public proof-of-concept is currently linked in the CVE record. Technical details are documented in the CISA ICS Advisory ICSA-25-336-01.

Detection Methods for CVE-2025-13658

Indicators of Compromise

  • Unexpected HTTP GET requests to administrative or management endpoints on Longwatch devices from external or unauthorized internal IP addresses
  • New or unknown processes running with SYSTEM privileges on affected devices
  • Outbound network connections from Longwatch devices to unfamiliar destinations, indicating possible command-and-control activity
  • Unexplained modifications to device configuration files, scheduled tasks, or startup items

Detection Strategies

  • Inspect HTTP request logs from Longwatch devices and upstream proxies for unusual GET requests targeting management endpoints
  • Deploy network intrusion detection signatures that flag unauthenticated requests to known-vulnerable Longwatch endpoints
  • Baseline normal traffic patterns to and from Longwatch devices, then alert on deviations such as new client IPs or anomalous request volumes

Monitoring Recommendations

  • Forward device and network logs to a centralized SIEM for correlation and long-term retention
  • Monitor for new processes, services, and persistence mechanisms introduced on affected devices
  • Track egress traffic from operational technology segments where Longwatch devices reside to detect lateral movement or data exfiltration

How to Mitigate CVE-2025-13658

Immediate Actions Required

  • Restrict network access to Longwatch device management interfaces using firewall rules and network segmentation
  • Block exposure of affected endpoints from the public internet and untrusted networks
  • Inventory all Longwatch devices in your environment and verify firmware versions against the CISA advisory
  • Review device logs for signs of prior exploitation, including unexpected GET requests and unfamiliar processes

Patch Information

No vendor patch is referenced in the CVE record at the time of publication. Consult the CISA ICS Advisory ICSA-25-336-01 for vendor-supplied remediation guidance and any firmware updates as they become available.

Workarounds

  • Place affected devices behind a VPN or jump host so the vulnerable endpoint is unreachable from untrusted networks
  • Apply strict access control lists that permit only authorized management workstations to communicate with the devices
  • Disable the affected endpoint if device functionality permits and vendor guidance supports it
  • Monitor and rate-limit HTTP traffic to device management ports to slow opportunistic exploitation attempts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.