Wazuh Active Response Module Improper Input Validation Remote Code Execution Vulnerability
The Wazuh Active Response module failed to properly validate JSON messages carrying IP address arguments. An authenticated remote attacker could exploit this to run arbitrary code as root on affected installations.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Wazuh. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Active Response module passed IP address values from JSON messages into a command or system call without validating or sanitising them.
Impact
An authenticated attacker could execute arbitrary code with root privileges, though authentication is required to reach the flaw.
What the attacker needed
Authenticated access to Wazuh; affected Wazuh installation
The fix
The vendor issued an update to correct the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Wazuh is a security monitoring tool. One of its parts, the Active Response module, takes instructions in a structured text format called JSON and acts on IP addresses. Because it did not check those messages carefully, someone already logged in could sneak in extra instructions and make the software run their own commands with the highest level of permission on the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.