
Exploit script written in C# to aid gaining a reverse shell on targets with Windows Server Update Service(WSUS) CVE-2025-59287.
CVE-2025-59287 is a critical (CVSS 9.8) remote code execution vulnerability affecting ALL Microsoft Windows Server Update Services aka (WSUS), and has been exploited in the wild. The vulnerability exploits insecure deserialization in the GetCookie() endpoint, allowing unauthenticated attackers to execute arbitrary code with FULL SYSTEM privileges.
This rev shell poc is pretty easy to use! It accepts target URL, attacker IP, and port parameters, then constructs, encrypts, and sends a malicious payload. To intercept the reverse shell, use a listener like netcat, as an example nc -lvnp 4444.
nc -lvnp 4444TypeConfuseDelegate gadget.AuthorizationCookie field..Always MAKE SURE YOU HAVE WRITTEN authorization before testing exploits like this. Use responsibly and legally!