Skip to main content
Vulnerability Database/CVE-2024-25552

CVE-2024-25552: Wut Com Port Redirector Privilege Escalation

CVE-2024-25552 is a privilege escalation vulnerability in Wut Com Port Redirector Legacy that allows local attackers to gain administrative privileges by inserting malicious executables. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-25552 Overview

CVE-2024-25552 is a local privilege escalation vulnerability affecting multiple Wiesemann & Theis (W&T) software products. A local attacker can gain administrative privileges by placing an executable file in an unquoted or improperly validated search path used by the affected product. The flaw is tracked under CWE-428: Unquoted Search Path or Element and documented in VDE Security Advisory VDE-2024-018.

Critical Impact

Successful exploitation grants SYSTEM or administrative privileges on Windows hosts running vulnerable W&T software, enabling full host compromise.

Affected Products

  • W&T COM Port Redirector Legacy
  • W&T COM Port Redirector Plug & Play
  • W&T OPC Server

Discovery Timeline

  • 2024-03-01 - CVE-2024-25552 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-25552

Vulnerability Analysis

The vulnerability stems from how affected W&T products reference executables during service startup. When a Windows service path contains spaces and is not enclosed in quotation marks, the Windows service control manager parses each space-delimited token as a candidate executable. An attacker with write access to any intermediate directory in that path can drop a malicious binary that the service launches instead of the intended target.

Because the affected products install Windows services that run under elevated accounts, the attacker-controlled binary executes with the privileges of the service. This produces a reliable path from a limited local user context to administrative or SYSTEM-level code execution.

Root Cause

The root cause is an unquoted search path condition [CWE-428] in the installation and service registration logic of the affected W&T products. The service ImagePath registry value is written without quoting, allowing Windows to resolve alternative executables when parsing the path.

Attack Vector

Exploitation requires local access and low privileges on the target host. The attacker identifies the vulnerable service ImagePath, writes a malicious executable to a writable intermediate directory, and triggers a service restart or waits for a system reboot. The service then executes the planted binary with elevated privileges.

No verified public proof-of-concept code is available. Technical specifics are described in the VDE Security Advisory VDE-2024-018.

Detection Methods for CVE-2024-25552

Indicators of Compromise

  • New or unexpected executable files written to directories along a Windows service ImagePath, such as C:\Program.exe or files inside parent folders of the W&T install path.
  • Windows service start events (Event ID 7036) immediately followed by process creation from a non-standard location.
  • Modifications to the HKLM\SYSTEM\CurrentControlSet\Services\*\ImagePath registry value for W&T services.

Detection Strategies

  • Enumerate Windows services with wmic service get name,pathname,startmode and flag entries containing spaces without enclosing quotes.
  • Monitor process creation events (Sysmon Event ID 1) where the parent is services.exe and the child image resides outside the expected W&T installation directory.
  • Alert on file writes to the root of system drives or into parent directories of installed service paths by non-administrative users.

Monitoring Recommendations

  • Collect endpoint telemetry for service configuration changes, new executables in sensitive paths, and privilege transitions.
  • Baseline the expected service binaries for W&T COM Port Redirector and OPC Server, and alert on deviations.
  • Correlate low-privileged file write activity with subsequent service restarts to surface staging behavior.

How to Mitigate CVE-2024-25552

Immediate Actions Required

  • Apply the fixed versions published by Wiesemann & Theis as described in VDE Security Advisory VDE-2024-018.
  • Audit the ImagePath of all W&T services and confirm that paths containing spaces are enclosed in quotation marks.
  • Restrict write permissions on C:\ and on any directory within the service search path so standard users cannot drop executables there.

Patch Information

Refer to VDE Security Advisory VDE-2024-018 for the vendor-supplied fixed versions of COM Port Redirector Legacy, COM Port Redirector Plug & Play, and OPC Server. Install the vendor-recommended release on every host running the affected software.

Workarounds

  • Manually quote the ImagePath registry value for affected services until patches are applied, then restart the service.
  • Harden NTFS permissions on parent directories of installed service binaries to prevent non-privileged writes.
  • Limit interactive and remote access on hosts running the affected W&T services to trusted administrators only.
bash
# Example: identify unquoted service paths on Windows
wmic service get name,displayname,pathname,startmode | findstr /i /v "\"" | findstr /i /v "C:\\Windows\\"

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.