This module exploits deserialization vulnerability in legacy serialization mechanism in Windows Server Update Services (WSUS). The vulnerability allows unauthenticated attacker to create specially crafted event, which triggers unsafe deserialization upon server synchronization. The module does not require any other options and upon successful exploitation, the payload is executed in context of administrator.
Vulnerability
CVE-2025-59287
Windows Server Update Service (WSUS) Remote Code Execution Vulnerability
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · microsoft
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:CDescription
Deserialization of untrusted data in Windows Server Update Service allows an unauthorized attacker to execute code over a network.
CVE ProgramExploit source choices
13 sourcesWSUS Unauthenticated RCE
Helps defenders find their WSUS configurations in the wake of CVE-2025-59287
Defensive PoC decoy for CVE-2025-59287 (WSUS) - emulates WSUS endpoints, captures request bodies and metadata, saves evidence for forensic analysis, and provides validation harness and detection rules.
powershell version of hawktrace POC exploit
Working exploit (PoC) for CVE-2025-59287 — WSUS vulnerability. Featured on Vulners and DeepWiki.
Unauthenticated RCE PoC in Microsoft Windows Server Update Service (WSUS) - CVE-2025-59287 & CVE-2023-35317
Exploit script written in C# to aid gaining a reverse shell on targets with Windows Server Update Service(WSUS) CVE-2025-59287.
luemmelsec/cve-2025-59287---wsus-sccm-rce source repository
PoC for CVE-2025-59287
adel-hx0d/cve-2025-59287 source repository
Guía de respuesta rápida y script de auditoría para CVE-2025-59287 (RCE crítica en WSUS).
PoC for Remote Code Execution Vulnerability in Windows Server Update Service by Microsoft CVE-2025-59287 9.8 CRITICAL