Wazuh 4.1.0 before 4.14.8 Arbitrary File Read via upgrade_custom Command
wazuh-manager
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Wazuh wazuh-manager |
|
|
Original description
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.
From the CVE record · VulnCheck