Wazuh
Wazuh Manager dapi RBAC Bypass Allows Privilege Escalation
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.5, Wazuh Manager allows a low-privilege read-only API user with manager:read permission to retrieve the cluster key from the element in ossec.conf through GET /manager/configuration?raw=true. An attacker with network access to TCP port 1516 can use the disclosed Fernet key to impersonate a cluster worker and submit distributed API requests containing attacker-controlled rbac_permissions with rbac_mode set to black. Because the master trusts the worker-supplied authorization context, the attacker can create users, assign administrator roles, access credentials and API tokens, modify configuration, and execute actions across agents. This issue is fixed in version 4.14.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.14.5
Fixed in 4.14.5
Mitigation
Upgrade wazuh to 4.14.5 or later.
References
- Vendor advisory github.com/wazuh/wazuh/security/advisories/GHS…
- Patch github.com/wazuh/wazuh/pull/35307
- Patch github.com/wazuh/wazuh/commit/b3459f5663702aea…
2 more
- Release notes github.com/wazuh/wazuh/releases/tag/v4.14.5
- Release notes github.com/wazuh/wazuh/releases/tag/v5.0.0-bet…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.