S4E just found a high top 10 tcp port service scan
critical·Product Based Web Vulnerabilities·Updated May 20, 2025

CVE-2025-24016 Scanner

CVE-2025-24016 Scanner - Remote Code Execution (RCE) vulnerability in Wazuh

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
2.9k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
CVECVE-2025-24016
9.9
CVSScritical
Exploitable remotely over the internet · low-privilege account sufficient.

Wazuh is a free and open source platform used for threat prevention, detection, and response. Starting in version 4.4.0 and prior to version 4.9.1, an unsafe deserialization vulnerability allows for remote code execution on Wazuh servers. DistributedAPI parameters are a serialized as JSON and deserialized using `as_wazuh_object` (in `framework/wazuh/core/cluster/common.py`). If an attacker manages to inject an unsanitized dictionary in DAPI request/response, they can forge an unhandled exception (`__unhandled_exc__`) to evaluate arbitrary python code. The vulnerability can be triggered by anybody with API access (compromised dashboard or Wazuh servers in the cluster) or, in certain configurations, even by a compromised agent. Version 4.9.1 contains a fix.

Attack Vector
Network
Privileges Req.
Low
User Interaction
None
Affected
wazuhby wazuh
>= 4.4.0, < 4.9.1
Updated Aug 22, 2026View on NVD →
Detail

Wazuh is an open-source security monitoring platform utilized by organizations for threat detection, vulnerability assessment, and compliance management. It is commonly deployed across large, complex network environments by IT security teams and system administrators. Companies leverage Wazuh's capabilities for efficient log analysis, file integrity monitoring, and incident response. Its robust integration support with threat intelligence feeds makes it a vital tool for comprehensive security coverage. Wazuh's modular architecture provides scalability, catering to organizations of varying sizes and industries. The platform's adaptability allows for customized security monitoring, making it a go-to solution for enterprises with unique security needs.

A Remote Code Execution (RCE) vulnerability allows attackers to execute arbitrary commands or code on a target system. This specific RCE vulnerability in Wazuh arises from unsafe deserialization practices within the Wazuh-manager package. It enables attackers with API access to inject unsanitized dictionaries that can trigger arbitrary Python code execution. This critical flaw exposes systems running Wazuh to potential compromise by malicious actors. Effective exploitation of this vulnerability can result in unauthorized access and control over the affected server. The severity of this vulnerability necessitates immediate attention to prevent network-wide security breaches.

The technical specifics of this vulnerability involve the DistributedAPI of Wazuh, where serialized JSON parameters are deserialized using the as_wazuh_object method. Located in the framework/wazuh/core/cluster/common.py file, this deserialization is prone to exploitation due to inadequate input validation. Attackers can craft payloads in the form of dictionaries sent in DAPI requests to manipulate the deserialization process. By injecting malicious payloads into the endpoint /security/user/authenticate/run_as, unauthorized code execution can be achieved. The exploitation potential increases if the API is publicly accessible or poorly secured, facilitating unauthorized access.

Exploitation of this vulnerability can have severe impacts on a compromised Wazuh server. It enables attackers to execute arbitrary code with the privileges of the wazuh-manager process, posing a threat to system integrity. This can lead to complete system takeover, data exfiltration, and potential denial of service conditions. The attackers might leverage this access for lateral movement across the network, compromising additional assets. Further exploitation could involve placing backdoors, escalating privileges, or disrupting critical services. These implications highlight the criticality of addressing the vulnerability promptly to mitigate potential damages.

REFERENCES

Solution Advice
  • Upgrade Wazuh to version 4.9.1 or later to patch the vulnerability.
  • Implement network segmentation to limit access to Wazuh servers and increase security posture.
  • Restrict Wazuh API access to trusted IP addresses only, minimizing the risk of unauthorized exploits.
  • Regularly monitor and audit API requests for any suspicious activity, especially at the /security/user/authenticate/run_as endpoint.
  • Deploy a Web Application Firewall (WAF) to filter and block potential malicious requests targeting the vulnerability.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2025-24016 Scanner - Remote Code Execution (RCE) vulnerability in Wazuh S4E