Cloudanix VulnDB

CVE-2023-2917

Critical · 9.8

CVSS

9.8

EPSS

72.2%

Published

Aug 17, 2023

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Attend

A vulnerable ThinManager server can let an attacker upload harmful files without logging in, potentially taking control of systems that support industrial operations.

Weaponized
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Network Service
Class
Path Traversal
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

CVE-2023-2917 is an unauthenticated path traversal and arbitrary file upload vulnerability in Rockwell Automation ThinManager ThinServer. ThinServer improperly validates the filename field in a synchronization protocol message, allowing a remote attacker to traverse directories and write attacker-controlled files outside the intended upload location on the disk where ThinServer.exe is installed. Because the attacker can place files in arbitrary directories, successful exploitation can lead to remote code execution if the uploaded file is written to a startup location, service-related path, executable directory, script location, or another path that ThinServer or Windows later executes. The vulnerability has a CVSS score of 9.8, network attack vector, no authentication requirement, low attack complexity, and weaponized exploit maturity.

Why it matters to the business

Successful exploitation can allow an external attacker to compromise industrial management infrastructure without credentials, potentially disrupting thin-client operations, operator workstations, production visibility, and control-system availability. Because ThinManager is commonly deployed in industrial and operational technology environments, compromise can create both IT and OT operational risk, including downtime, unauthorized system changes, lateral movement, and loss of confidence in production monitoring. The high EPSS score indicates meaningful real-world exploitation likelihood, and the availability of weaponized exploitation materially increases urgency even though the issue is not currently listed in CISA KEV.

How an attack unfolds

An attacker first identifies a reachable Rockwell Automation ThinManager ThinServer instance, typically by scanning for exposed ThinServer services or targeting known industrial remote-access and thin-client management hosts. The attacker then sends a crafted synchronization protocol message to ThinServer containing a malicious filename value with path traversal sequences such as ../ or ..\. Because ThinServer does not adequately validate the filename field, it writes the supplied file outside the intended directory and into an attacker-chosen path on the drive where ThinServer.exe is installed. The attacker may upload a web shell, executable, script, service payload, DLL, configuration file, or startup artifact depending on what directories are writable and what execution paths exist on the host. If the file is placed where Windows, ThinServer, or another service executes it, the attacker gains code execution under the context of the affected service or later during service restart, user logon, or system boot. After execution, the attacker may establish persistence, enumerate the industrial environment, harvest credentials, pivot to adjacent systems, or disrupt ThinManager-managed endpoints.

How to fix it

Upgrade Rockwell Automation ThinManager ThinServer to a vendor-fixed release or apply Rockwell Automation’s official advisory guidance for CVE-2023-2917. If an upgrade cannot be performed immediately, restrict network access to ThinServer services to only trusted management networks and approved administrative hosts, block exposure from the internet, and enforce segmentation between business IT networks and OT/industrial management networks. Use firewall rules or allowlists to limit access to ThinManager synchronization traffic. Run ThinServer with the least privileges supported by the product, monitor and restrict write permissions in installation and startup directories, and disable or isolate unused ThinManager services. Because no exact fixed version was provided in the input, confirm the applicable fixed release directly from Rockwell Automation based on the deployed ThinManager version and support branch.

How to confirm the fix worked

Confirm the installed ThinManager/ThinServer version against Rockwell Automation’s security advisory and verify it is at or above the vendor-fixed release for the deployed branch. Validate that ThinServer services are not reachable from untrusted networks by scanning from external, user, and segmented network zones. Review firewall policy to ensure only approved management systems can connect to ThinServer service ports. On Windows hosts, verify that untrusted users and service accounts cannot write to ThinManager installation directories, Windows startup directories, service directories, or other executable paths. If safe and authorized testing is available, use a non-destructive validation method to confirm that crafted synchronization protocol messages containing path traversal sequences are rejected and do not create files outside the intended directory. After patching, monitor for failed traversal attempts and unexpected file writes to confirm exploit attempts are blocked.

Typical attack path

  1. Discover an internet-facing or internally reachable Rockwell Automation ThinManager ThinServer service.
  2. Confirm the target appears to be running a vulnerable ThinServer version or responds to ThinManager synchronization protocol traffic.
  3. Send a crafted synchronization protocol message with a filename field containing path traversal sequences.
  4. Upload an attacker-controlled file to an arbitrary directory on the disk where ThinServer.exe is installed.
  5. Place the payload in a location likely to be executed, loaded, or processed by Windows, ThinServer, or another trusted component.
  6. Trigger execution through service restart, system reboot, user logon, scheduled execution, DLL loading, or another application behavior.
  7. Use the resulting code execution to establish persistence, collect credentials, move laterally, or disrupt ThinManager-managed operations.

How to detect it

To determine whether exploitation already occurred, review ThinManager and ThinServer application logs, Windows Security logs, Sysmon or EDR telemetry, firewall logs, NetFlow, and packet captures for suspicious synchronization protocol activity and unexpected file writes. Focus on inbound connections to ThinServer from unknown or unauthorized sources, especially traffic followed by new files appearing outside normal ThinManager directories. Search application and network logs for path traversal patterns in filename fields, including ../, ..\, encoded traversal strings, and attempts to write to Windows system, startup, service, or executable directories. On the host, inspect recent file creation and modification events on the drive where ThinServer.exe is installed, particularly in ThinManager installation directories, Windows Startup folders, ProgramData, Temp, System32, service directories, and scheduled task locations. Review Windows Event ID 4688 or Sysmon Event ID 1 for suspicious child processes launched by ThinServer.exe, such as cmd.exe, powershell.exe, wscript.exe, cscript.exe, mshta.exe, rundll32.exe, regsvr32.exe, certutil.exe, bitsadmin.exe, curl.exe, or unknown binaries. Review Windows service creation events, scheduled task creation, registry Run keys, and startup folder changes after suspicious ThinServer network activity. If EDR is available, hunt for file writes where the initiating process is ThinServer.exe and the target path is outside the expected application data or synchronization directory. Investigate any unexplained restart of ThinServer followed by execution of newly written files.

  • ThinServer.exe
  • filename=../
  • filename=..\
  • ../
  • ..\
  • %2e%2e%2f
  • %2e%2e%5c
  • ..%2f
  • ..%5c
  • C:\Windows\System32\
  • C:\Windows\SysWOW64\
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
  • \AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
  • cmd.exe /c
  • powershell.exe -enc
  • powershell.exe -EncodedCommand
  • wscript.exe
  • cscript.exe
  • mshta.exe
  • rundll32.exe
  • regsvr32.exe
  • certutil.exe -urlcache
  • bitsadmin.exe
  • schtasks.exe /create
  • sc.exe create
  • HKLM\Software\Microsoft\Windows\CurrentVersion\Run
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Run

What your security team should do

  • Treat this as high priority due to unauthenticated remote exploitation, CVSS 9.8 severity, high EPSS, and weaponized exploit availability.
  • Identify all Rockwell Automation ThinManager ThinServer deployments, including OT networks, engineering workstations, jump hosts, and remote-access enclaves.
  • Upgrade affected ThinManager ThinServer instances to the Rockwell Automation fixed version applicable to the deployed branch.
  • Immediately remove internet exposure and restrict ThinServer access to approved management hosts only.
  • Place ThinManager systems behind OT-aware network segmentation and block access from general user networks.
  • Hunt for prior exploitation by reviewing ThinServer logs, Windows file creation events, service changes, scheduled tasks, startup folder modifications, and suspicious child processes of ThinServer.exe.
  • Enable or increase Windows auditing for file creation, process creation, service installation, and scheduled task registration on ThinManager servers.
  • Review recently created or modified files in ThinManager installation directories, Windows startup paths, temporary directories, and service executable paths.
  • Investigate any ThinServer.exe process spawning command shells, scripting engines, archive tools, download utilities, or unknown executables.
  • If compromise is suspected, isolate the host, preserve forensic evidence, rotate credentials exposed to the system, and review adjacent OT and IT systems for lateral movement.

The record

The Rockwell Automation Thinmanager Thinserver is impacted by an improper input validation vulnerability.  Due to an improper input validation, a path traversal vulnerability exists, via the filename field, when the ThinManager processes a certain function. If exploited, an unauthenticated remote attacker can upload arbitrary files to any directory on the disk drive where ThinServer.exe is installed.  A malicious user could exploit this vulnerability by sending a crafted synchronization protocol message and potentially gain remote code execution abilities.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities