Path Traversal in Wazuh
CVE-2021-26814
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.087, 95.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- WickdDavid/CVE-2021-26814 (4 stars, last pushed 2021-05-18): 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 stars, last pushed 2021-05-18): PoC of CVE-2021-26814
- paolorabbito/Internet-Security-Project---CVE-2021-26814 (last pushed 2021-12-03)
Also mentioned in 24 other repositories (0day404/vulnerability-poc, ARPSyndicate/cvemon, cyllective/CVEs, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- documentation.wazuh.com/4.0/release-notes/release_4_0_4.html (Release Notes, Vendor Advisory)
- github.com/wazuh/wazuh/releases/tag/v4.0.4 (Third Party Advisory, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.