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.
Remediation
References
https://documentation.wazuh.com/4.0/release-notes/release_4_0_4.html
https://github.com/wazuh/wazuh/releases/tag/v4.0.4