CVE-2025–24016: Celah Remote Code Execution Kritis ditemukan pa
The Wazuh API server contains an unsafe deserialisation vulnerability that allows an attacker with API access to execute arbitrary commands remotely. This could let them shut down the master server or run other code.
Published on medium.com
Wazuh adalah platform keamanan yang menyediakan deteksi ancaman, visibility, dan compliance untuk lingkungan IT yang dapat digunakan secara open-source atau gratis, terutama pada blue team cybersecurity.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API deserialises untrusted JSON into Python objects without restricting which classes can be instantiated, allowing special keys to trigger dangerous behaviour.
Impact
An attacker with API access could execute remote commands, potentially shutting down the master server; the text does not state whether any defence limited the exploit.
What the attacker needed
API access (e.g., default credentials)
How it was found
- Assume default credentials exist on the API server.
- Send a crafted JSON payload to the authentication endpoint that includes a special object.
- The server processes the object and executes the requested action, such as exiting.
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 write-up has not been written yet. The Original tab links to the source.
Wazuh is a security monitoring tool. Its API server takes data from users and turns it back into program objects; if it does that without checking the data, an attacker can sneak in a special object that makes the server run commands. Here, someone who can log in to the API could send such an object and cause the server to execute code or shut down.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.