Description
Wazuh API in Wazuh from 4.0.0 to 4.0.3 allows authenticated users to execute arbitrary code with administrative privileges via /manager/files URI. An authenticated user to the service may exploit incomplete input validation on the /manager/files API to inject arbitrary code within the API service script.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
WickdDavid/CVE-2021-26814 ★ 4 · May 17, 2021
A simple python PoC to exploit CVE-2021-26814 and gain RCE on Wazuh Manager (v.4.0.0-4.0.3) through the API service.
-
CYS4srl/CVE-2021-26814 ★ 2 · May 18, 2021
PoC of CVE-2021-26814
-
paolorabbito/Internet-Security-Project---CVE-2021-26814 ★ 0 · Jul 10, 2021
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | wazuh | >= 4.0.0, < 4.0.4 | 4.0.4 | GHSA-w36g-q975-37rg |