module

Microsoft Exchange ProxyShell RCE

Disclosed
2021-04-06
Created
2021-08-19

Description

This module exploits a vulnerability on Microsoft Exchange Server that
allows an attacker to bypass the authentication (CVE-2021-31207), impersonate an
arbitrary user (CVE-2021-34523) and write an arbitrary file (CVE-2021-34473) to achieve
the RCE (Remote Code Execution).

By taking advantage of this vulnerability, you can execute arbitrary
commands on the remote Microsoft Exchange Server.

This vulnerability affects Exchange 2013 CU23
Exchange 2016 CU19 Exchange 2019 CU8
All components are vulnerable by default.

Authors

Orange Tsai
Jang ( Jang (@testanull)
PeterJson
brandonshi123
mekhalleh (RAMELLA Sébastien)
Donny Maasland
Rich Warren
Spencer McIntyre
wvu wvu@metasploit.com

Platform

Windows

Architectures

cmd, x64, x86

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/http/exchange_proxyshell_rce
msf exploit(exchange_proxyshell_rce) > show targets
...targets...
msf exploit(exchange_proxyshell_rce) > set TARGET < target-id >
msf exploit(exchange_proxyshell_rce) > show options
...show and set options...
msf exploit(exchange_proxyshell_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.