OCS Inventory NG Unquoted Service Path Privilege Escalation Vulnerability

Vulnerability

A privilege escalation vulnerability has been identified in OCS Inventory NG version 2.3.0.0, stemming from an unquoted service path. This flaw allows local attackers to escalate privileges to the system level. By placing a malicious executable in the unquoted service path and triggering a restart of the service, attackers can execute code with elevated privileges.

Impact

Exploitation of this vulnerability allows for unauthorized privilege escalation, with attackers gaining system-level rights.

Reproduction

The vulnerability can be reproduced by first identifying the unquoted service path of the OCS Inventory Service using the Windows Management Instrumentation Command-line (WMIC) tool. After confirming the service's binary path, a malicious executable can be uploaded to the specified location. Once the executable is in place, the service can be stopped and started again, or the system can be rebooted, which will trigger the execution of the malicious payload with elevated privileges.

Remediation

Users are advised to update to OCS Inventory NG version 2.3.1.0 or later, where this vulnerability has been addressed.

Added: Dec 19, 2025, 9:27 PM
Updated: Dec 19, 2025, 9:27 PM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
10.0
exploitability
4.8
remediation
7.7
relevance
1.6
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.