Skip to content
RCE Write-up Intermediate

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.

Rachmadi A Prakoso Follow

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.

Rachmadi A Prakoso, on medium.com

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

  1. Assume default credentials exist on the API server.
  2. Send a crafted JSON payload to the authentication endpoint that includes a special object.
  3. 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.