module

Microsoft Exchange ProxyShell RCE

Disclosed
Apr 6, 2021
Created
Aug 19, 2021

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 [email protected]

Platform

Windows

Architectures

x64, x86, cmd

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
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.