Description (CNA)
Wazuh from 4.1.0 before 4.14.8 contains a missing origin check in wm_agent_upgrade that allows enrolled agents to issue upgrade_custom commands with attacker-controlled file_path. Attackers can inject an upgrade_custom message over the agent channel to read arbitrary files as root, exfiltrating /etc/shadow and client.keys.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Wazuh / wazuh-manager | affected 4.1.0 before 4.14.8; unaffected 4.14.8 |
CWE
CWE-862
References
- https://github.com/wazuh/wazuh/security/advisories/GHSA-r7hm-43xr-477j
- https://github.com/wazuh/wazuh/releases/tag/v4.14.8
- https://www.vulncheck.com/advisories/wazuh-4.1.0-before-4.14.8-arbitrary-file-read-via-upgrade-custom-command
ADP enrichment
No English description supplied.