Skip to content
RCE Write-up Advanced

[Blog] A Retrospective Analysis of CVE-2025-59287 in Microsoft WSUS

The October 2025 WSUS security update introduced a new unsafe deserialization sink in the ReportingEvent.Validate method, reachable via the ReportingWebService.asmx endpoint. An unauthenticated attacker could send a crafted SOAP request to trigger remote code execution through the SoapFormatter deserialization.

code-white.com

Published on code-white.com

Finding 0-days can be tedious, time-consuming, and open-ended. And in the worst case, it can end up in nothing.

The author, on code-white.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 October 2025 patch added a call to SoapFormatter.DeserializeObject on user-controlled data from the MiscData field without proper validation, enabling unsafe deserialization.

What the attacker needed

WSUS server with October 2025 update; network access to port 8530 or 8531; no authentication required

The fix

Microsoft released an out-of-band update that removed the SoapFormatter deserialization call and replaced it with an exception.

How it was found

  1. Install WSUS on a Windows Server 2022.
  2. Download the October 2025 security update and extract the Microsoft.UpdateServices.BaseApi.dll.
  3. Decompile the DLL and diff it against the previous version to find the new SoapFormatter call.
  4. Identify the ReportEventBatch web method and its XML structure from the MS-WUSP specification.
  5. Craft a SOAP request with a MiscData entry containing a serialized gadget from YSoSerial.Net.
  6. Send the request to the ReportingWebService.asmx endpoint to trigger deserialization and achieve remote code 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.

WSUS is a Microsoft tool for managing Windows updates. A security update accidentally added a way for an unauthenticated attacker to send a special message that makes the server run harmful code. This is dangerous because the attacker does not need to log in first.

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.