CVE-2021-47859
Unquoted Service Path in ActivIdentity ac.sharedstore Enables Code Execution
Publication date: 2026-01-21
Last updated on: 2026-01-21
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| hid_global | actividentity | 8.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-428 | The product uses a search path that contains an unquoted element, in which the element contains whitespace or other separators. This can cause the product to access resources in a parent path. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an unquoted service path issue in ActivIdentity version 8.2's 'ac.sharedstore' Windows service. Because the executable path contains spaces and is not enclosed in quotes, a local attacker can place a malicious executable in a directory along the service path. When the service starts, Windows may execute the malicious file instead of the intended one, allowing the attacker to run arbitrary code with elevated privileges. [1, 2]
How can this vulnerability impact me? :
Exploiting this vulnerability allows a local attacker to execute arbitrary code with elevated privileges on the affected system. This can lead to privilege escalation, compromising system confidentiality, integrity, and availability, potentially allowing the attacker to take full control of the system. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
You can detect this vulnerability by checking the service configuration for the 'ac.sharedstore' service to see if its executable path is unquoted. A suggested command on Windows is: sc qc ac.sharedstore. This command will display the service configuration, including the binary path. If the path is unquoted and contains spaces (e.g., C:\Program Files\Common Files\ActivIdentity\ac.sharedstore.exe), the system is vulnerable to this unquoted service path issue. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include correcting the service executable path by enclosing it in quotes to prevent exploitation. This can be done by modifying the service configuration to quote the binary path, for example: "C:\Program Files\Common Files\ActivIdentity\ac.sharedstore.exe". Additionally, ensure that no malicious executables exist in directories along the service path and restrict write permissions to these directories to prevent attackers from placing malicious files. [1, 2]