OCS Inventory NG
cpe:2.3:a:ocsinventory-ng:ocsinventory_ng:*:*:*:*:*:*:*
- <= 2.3.0.0
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.
Exploitation of this vulnerability allows for unauthorized privilege escalation, with attackers gaining system-level rights.
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.
Users are advised to update to OCS Inventory NG version 2.3.1.0 or later, where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.