Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-34473 PoC — Microsoft Exchange Server Remote Code Execution Vulnerability

Source
Associated Vulnerability
Title:Microsoft Exchange Server Remote Code Execution Vulnerability (CVE-2021-34473)
Description:Microsoft Exchange Server Remote Code Execution Vulnerability
Description
Proof of Concept for CVE-2021-34473, CVE-2021-34523, and CVE-2021-31207
Readme
# ProxyShell
Proof of Concept Exploit for Microsoft Exchange CVE-2021-34473, CVE-2021-34523, CVE-2021-31207

# Details
For background information and context, read the [blog post](https://www.horizon3.ai/news/blog/proxyshell) detailing the research by Horizon3:
https://www.horizon3.ai/news/blog/proxyshell

## Features
* No email address needs to be supplied
* Attempts to enumerate emails from Active Directory
* Attempts to enumerate LegacyDNs from Active Directory
* Attempts to discover LegacyDNs from builtin emails
* Attempts to discover SID of Exchange server in load-balanced deployments
* Handles exploitation in load-balanced environments

# Usage
```bash
python3 exchange_proxyshell.py -u https://<IP>
```
### Example output
![Proof](poc.png)

# Mitigations
Apply the security updates found here: 
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-34473

# Prior Research Credit
- https://devco.re/blog/2021/08/22/a-new-attack-surface-on-MS-exchange-part-3-ProxyShell/
- https://www.zerodayinitiative.com/blog/2021/8/17/from-pwn2own-2021-a-new-attack-surface-on-microsoft-exchange-proxyshell
- https://peterjson.medium.com/reproducing-the-proxyshell-pwn2own-exploit-49743a4ea9a1
- https://github.com/dmaasland/proxyshell-poc

# Disclaimer
This software has been created purely for the purposes of academic research and for the development of effective defensive techniques, and is not intended to be used to attack systems except where explicitly authorized. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.
File Snapshot

[4.0K] /data/pocs/a0b408b5fac160bcee2d3931acf6e2692ad6cf99 ├── [ 38K] exchange_proxyshell.py ├── [123K] poc.png └── [1.5K] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →