Skip to content
RCE Write-up Advanced

CVE-2025–59287: When WSUS turns from a trusted patch server int

WSUS web endpoints performed unsafe deserialization of the AuthorizationCookie in incoming SOAP messages, allowing an unauthenticated attacker to execute code as SYSTEM in the IIS worker process. Exploitation was observed in the wild against internet-exposed servers on default ports.

Rabbit Knight Follow

Published on medium.com

In cybersecurity, the worst-case sometimes is a simple one: a trusted internal system (the one you rely on to push updates ) is turned against you. That’s exactly what CVE-2025–59287 is: a critical, unauthenticated Remote Code Execution (RCE) flow in Windows Server Update Services (WSUS) that has been observed in the…

Rabbit Knight, 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 unsafe deserialization of untrusted SOAP input (the AuthorizationCookie and related data) inside the WSUS IIS worker process.

Impact

An unauthenticated network request could lead to SYSTEM-level code execution, and attackers were observed scanning and exploiting internet-exposed WSUS servers; the text does not describe a defence that blocked it.

What the attacker needed

Network reachability to WSUS ports 8530/8531; no authentication required

The fix

It was fixed by Microsoft's out-of-band emergency update on 23 October 2025, with a reboot where required; if patching is delayed, block inbound TCP 8530/8531 and restrict IIS bindings to internal ranges.

How it was found

  1. Craft a malicious SOAP payload aimed at a WSUS .asmx endpoint.
  2. Send it to the WSUS port (8530 HTTP or 8531 HTTPS) so IIS forwards it to the WSUS application pool worker.
  3. Trigger unsafe deserialization of the AuthorizationCookie, leading to code execution as SYSTEM.

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.

WSUS is a server that hands out software updates to Windows machines. It accepts messages in an old XML format and turns them back into program objects; if it does that carelessly, an attacker can slip in an object that runs their own commands. Because the service runs with high privileges, that can mean full control of the server without needing a login.

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.