Wazuh SQL injection in WazuhDBBackend parameter substitution
wazuh
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| wazuh wazuh |
|
|
Original description
Wazuh versions from 4.0.0 before 4.14.9 contain a sql injection vulnerability in WazuhDBBackend._substitute_params due to sequential regex placeholder cross-contamination. Authenticated users with agent:read on one agent can inject UNION SELECT via the q and search parameters to extract every agent's internal_key through a blind boolean oracle on total_affected_items.
From the CVE record · VulnCheck