Skip to content
RCE Write-up Intermediate

Unauthenticated RCE via WebLogic WLS-WSAT (CVE-2019–2725)

An exposed WebLogic WLS-WSAT endpoint deserialised attacker-supplied SOAP XML without sufficient validation, allowing unauthenticated remote code execution. The author confirmed this by causing the server to send an outbound ping to a controlled host.

medium.com

Published on medium.com

While testing a target running Oracle WebLogic Server, I identified an exposed WLS-WSAT endpoint that allowed unauthenticated interaction. Further analysis showed that this endpoint was vulnerable to a deserialization issue (CVE-2019–2725), which could be leveraged to achieve remote code execution.

Sai, 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

The WLS-WSAT endpoint deserialised SOAP XML into Java objects without sufficient validation, and the presence of java.beans.XMLDecoder allowed attacker-controlled logic to run during reconstruction.

Impact

An unauthenticated attacker could execute arbitrary commands on the WebLogic server, potentially leading to full compromise, data theft, lateral movement and ransomware deployment.

What the attacker needed

Exposed WLS-WSAT endpoint; No authentication required; Network reachability to the endpoint

The fix

The issue should be fixed by applying Oracle security patches, upgrading to a supported WebLogic version, restricting access to WLS-WSAT endpoints, disabling unused SOAP services, and adding network segmentation or WAF rules.

How it was found

  1. Enumerate the target and identify Oracle WebLogic Server 10.3.5.0.
  2. Find the /wls-wsat/CoordinatorPortType endpoint reachable without authentication.
  3. Craft a SOAP request embedding a serialised object that invokes Java ProcessBuilder.
  4. Send the request with curl, using a non-destructive ping to a controlled host.
  5. Observe outbound ICMP traffic from the server, confirming command execution.

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.

Some server software can turn data sent over the network back into live program objects. If it does that without checking what the data contains, an attacker can smuggle in instructions that the server then runs. Here, an internet-facing WebLogic service did exactly that, so anyone could run commands on the machine.

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.