CVE-2020-37017 Overview
CVE-2020-37017 is an unquoted service path vulnerability affecting CodeMeter 6.60, a widely-used software protection and licensing solution developed by Wibu-Systems. This vulnerability allows local users to potentially execute arbitrary code with elevated system privileges by exploiting the unquoted binary path in the CodeMeter Runtime Server service. Attackers can inject malicious executables that would run with LocalSystem permissions, effectively gaining complete control over the affected system.
Critical Impact
Local attackers can achieve privilege escalation to SYSTEM-level access, enabling complete system compromise, persistence establishment, and lateral movement within enterprise environments.
Affected Products
- CodeMeter 6.60
- CodeMeter Runtime Server
- Systems with Wibu-Systems CodeMeter Runtime installed
Discovery Timeline
- 2026-01-29 - CVE CVE-2020-37017 published to NVD
- 2026-01-29 - Last updated in NVD database
Technical Details for CVE-2020-37017
Vulnerability Analysis
This vulnerability falls under CWE-428 (Unquoted Search Path or Element), a configuration flaw that occurs when a service executable path containing spaces is not properly enclosed in quotation marks. When Windows attempts to locate and execute the service binary, it parses the unquoted path from left to right, attempting to execute each potential file path interpretation.
The CodeMeter Runtime Server service registers its executable path without proper quotation marks. Because the installation path typically includes directories with spaces (such as Program Files), Windows will attempt multiple path interpretations before reaching the intended executable. An attacker with write access to any of the intermediate directories can place a malicious executable at one of these locations, which Windows will execute with the service's privileges—in this case, LocalSystem.
Root Cause
The root cause of this vulnerability is improper service registration within the Windows Service Control Manager. When the CodeMeter Runtime Server service was installed, the ImagePath registry value was configured without enclosing the full executable path in double quotes. This oversight creates an exploitable condition when the path contains spaces, as Windows' path parsing behavior will attempt to execute files at truncated path locations before the intended binary.
Attack Vector
The attack requires local access to the vulnerable system and the ability to write files to specific locations in the file system hierarchy. An attacker would:
- Identify the unquoted service path registered in the Windows registry under HKLM\SYSTEM\CurrentControlSet\Services\CodeMeter.exe
- Determine writable directories along the path where malicious executables can be placed
- Create a malicious executable named to match one of the truncated path interpretations (e.g., C:\Program.exe or similar)
- Wait for the service to restart or force a service restart if possible
- Upon service restart, Windows executes the attacker's malicious binary with LocalSystem privileges
This vulnerability is particularly dangerous in enterprise environments where CodeMeter is used for software licensing protection, as it provides a reliable path to privilege escalation for insider threats or attackers who have gained initial low-privilege access to a system.
Detection Methods for CVE-2020-37017
Indicators of Compromise
- Unexpected executables in root directories or C:\Program Files\ parent paths (e.g., C:\Program.exe, C:\Program Files\Wibu.exe)
- Suspicious service restart events for CodeMeter.exe service in Windows Event Logs
- New processes spawned with SYSTEM privileges from unusual locations
- Registry modifications to the CodeMeter service ImagePath value
Detection Strategies
- Query the Windows registry for unquoted service paths using PowerShell: Get-WmiObject win32_service | Where-Object {$_.PathName -notlike '"*"' -and $_.PathName -like '* *'}
- Monitor file creation events in directories that would be parsed before the legitimate CodeMeter installation path
- Implement application whitelisting to prevent execution of unauthorized binaries in sensitive directories
- Use SentinelOne's behavioral AI to detect privilege escalation attempts via service manipulation
Monitoring Recommendations
- Enable auditing for file creation events in C:\ and C:\Program Files\ directories
- Monitor Windows Security Event Log for Event ID 4697 (service installation) and 7045 (new service installed)
- Configure alerts for service restart events associated with CodeMeter Runtime Server
- Deploy endpoint detection and response (EDR) solutions to identify suspicious SYSTEM-level process spawning
How to Mitigate CVE-2020-37017
Immediate Actions Required
- Verify the CodeMeter service path is properly quoted by checking the registry value at HKLM\SYSTEM\CurrentControlSet\Services\CodeMeter.exe\ImagePath
- Manually fix the unquoted path by adding double quotes around the full executable path in the registry
- Scan for suspicious executables in directories along the service path that could indicate prior exploitation
- Restrict write permissions on directories that fall within the path parsing sequence
Patch Information
Organizations should check with Wibu-Systems for updated versions of CodeMeter that address this vulnerability. Additional information and vendor resources are available at the Wibu CodeMeter Product Page. Security researchers have documented this issue in Exploit-DB #48735 and the VulnCheck Advisory provides additional technical details.
Workarounds
- Manually quote the service path in the registry by enclosing the full path in double quotes
- Implement filesystem access controls to prevent unauthorized write access to directories along the service path
- Use application control solutions to block execution of unauthorized binaries
- Consider running the service under a dedicated service account with reduced privileges where possible
# Fix unquoted service path via registry (run as Administrator)
reg add "HKLM\SYSTEM\CurrentControlSet\Services\CodeMeter.exe" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files (x86)\CodeMeter\Runtime\bin\CodeMeter.exe\" /SERVICE" /f
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

