Skip to content
RCE Write-up Advanced

They Hacked Windows Updates?! Inside the WSUS RCE Exploit CVE-202

WSUS accepted an attacker-controlled AuthorizationCookie that was decrypted and then deserialized unsafely, allowing unauthenticated remote code execution as SYSTEM. Attackers could drop malware, pivot, and push poisoned updates if they reached update pipelines.

Motasem Hamdan Follow

Published on motasemhamdan.medium.com

In mid-October 2025 a dangerous unauthenticated remote-code-execution bug in Windows Server Update Services (WSUS) was disclosed and quickly weaponized. Microsoft shipped an October Patch-Tuesday fix that proved incomplete; an out-of-band emergency update followed, and government agencies and security vendors…

Motasem Hamdan, on motasemhamdan.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 insecure deserialization of the decrypted AuthorizationCookie using a legacy .NET serializer such as BinaryFormatter or SoapFormatter.

Impact

An unauthenticated attacker could execute code as SYSTEM on the WSUS server, potentially dropping malware, pivoting, and pushing poisoned updates if update pipelines were reachable.

What the attacker needed

WSUS reachable on TCP 8530/8531; no credentials required

How it was found

  1. Craft a malicious AuthorizationCookie payload.
  2. Submit it over HTTP(S) to WSUS listening ports, default TCP 8530/8531.
  3. The server decrypts the cookie with AES-CBC.
  4. The decrypted data is deserialized unsafely, constructing attacker-controlled objects.
  5. This leads 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 Microsoft tool that distributes Windows updates inside companies. It took a cookie from anyone, decrypted it, and then turned its contents into live program objects without checking them, so a crafted cookie could run code on the server with the highest Windows privileges.

What is RCE?

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

More by Motasem Hamdan

View all

4 more disclosed reports, best first.

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.