Description
Incorrect Permission Assignment for Critical Resource (CWE-732) in Elastic Agent can lead to local privilege escalation via Replace Binaries (CAPEC-642). On Windows systems where Elastic Agent is installed in unprivileged mode, resources used by the agent service are created with access controls broader than required. A local user could take advantage of this to cause the service to execute code of their choosing, ultimately obtaining SYSTEM-level privileges on the host.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Elastic | Elastic Agent | 8.0.0 – ≤ 8.19.20, 9.0.0 – ≤ 9.4.5, 9.5.0 – ≤ 9.5.1 | — |