Microsoft Exchange Server 2013 Cumulative Update 23
Microsoft Exchange Server Remote Code Execution Vulnerability
Microsoft Exchange Server Remote Code Execution Vulnerability
First public PoC
27 daysafter publication · 10 Aug 2021
Public PoCs1311 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CNA · CWE-918
CISA KEV
3 Nov 2021112 days after publication · ransomware use known
Timeline
Days relative to CVE publicationFirst public PoC 27 days after publication; added to CISA KEV 112 days after publication. First PoC: cyberheartmi9/Proxyshell-Scanner (created 10 Aug 2021, found by us: backfilled).
PoC repositories
Found on GitHub.11 PoCs · 2 pending · 1 informational
PoCs 11
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cyberheartmi9/Proxyshell-Scanner | 10 Aug 2021 +27 d | 46 | Scanner |
| RaouzRouik/CVE-2021-34473-scanner | 11 Aug 2021 +28 d | 5 | Scanner |
| p2-98/CVE-2021-34473 | 16 Aug 2021 +33 d | 29 | PoC |
| phamphuqui1998/CVE-2021-34473 | 16 Aug 2021 +33 d | 29 | PoC |
| aravazhimdr/ProxyShell-POC-Mod | 18 Aug 2021 +35 d | 6 | PoC via PoC Index |
| horizon3ai/proxyshell | 4 Sep 2021 +52 d | 121 | PoC via PoC Index |
| mithridates1313/ProxyShell_POC | 2 Oct 2021 +80 d | 16 | PoC via PoC Index |
| je6k/CVE-2021-34473-Exchange-ProxyShell | 22 Nov 2021 +131 d | 16 | PoC |
| learningsurface/ProxyShell-CVE-2021-34473.py | 24 May 2022 +314 d | 0 | PoC |
| kh4sh3i/ProxyShell | 29 Jun 2022 +350 d | 43 | PoC via PoC Index |
| ipsBruno/CVE-2021-34473-NMAP-SCANNER | 16 Nov 2022 +1.3 y | 2 | Scanner |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| f4alireza/CVE | 17 Oct 2023 +2.3 y | 0 | Pending |
| jrgdiaz/ProxyShell-CVE-2021-34473.py | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| swaptt/swapt-it | 10 Apr 2022 +270 d | 0 | Informational · list |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Microsoft Exchange ProxyShell RCE (exploit/windows/http/exchange_proxyshell_rce) | 18 Aug 2021 | 14 Nov 2026 |
| nuclei template | nuclei template: Exchange Server - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 11 PoC reposPOST /autodiscover/autodiscover.json
- Query
a=a=mhgod@jjvhk.mrb/EWS/Exchange.asmxa=rand@mm.com/autodiscover/autodiscover.xml/- Key headers
Cookie: Email=autodiscover/autodiscover.json?a=rand@mm.comMsexchlogonmailbox: S-1-5-20X-Clientapplication: MapiHttpClient/15.1.225.37X-Requestid: 5b8cd8f9-9a64-490d-8f0a-713c6cf078c9:1X-Requesttype: Connect- Body markers
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/excha""<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">in{var}- Ports
- 80, 8080
- PoC User-Agent
ExchangeServicesClient/0.0.0.0python-urllib3/1.26.6- Seen in
- 6 repos: aravazhimdr/ProxyShell-POC-Mod, horizon3ai/proxyshell, je6k/CVE-2021-34473-Exchange-ProxyShell, kh4sh3i/ProxyShell, p2-98/CVE-2021-34473, phamphuqui1998/CVE-2021-34473
- Evidence
- aravazhimdr/ProxyShell-POC-Mod/proxyshell_mod.py:49 horizon3ai/proxyshell/exchange_proxyshell.py:229 je6k/CVE-2021-34473-Exchange-ProxyShell/send_webshell_mail.py:20 je6k/CVE-2021-34473-Exchange-ProxyShell/send_webshell_mail.py:29 je6k/CVE-2021-34473-Exchange-ProxyShell/send_webshell_mail.py:83 kh4sh3i/ProxyShell/ProxyShell.py:226
GET /aspnet_client/{var}.aspx
- Query
exec_code=Response.Write(- Ports
- 80, 8080
- Seen in
- 5 repos: aravazhimdr/ProxyShell-POC-Mod, horizon3ai/proxyshell, kh4sh3i/ProxyShell, p2-98/CVE-2021-34473, phamphuqui1998/CVE-2021-34473
- Evidence
- aravazhimdr/ProxyShell-POC-Mod/proxyshell_mod.py:212 aravazhimdr/ProxyShell-POC-Mod/proxyshell_mod.py:222 horizon3ai/proxyshell/exchange_proxyshell.py:689 horizon3ai/proxyshell/exchange_proxyshell.py:699 kh4sh3i/ProxyShell/ProxyShell.py:686 kh4sh3i/ProxyShell/ProxyShell.py:696
GET /autodiscover/autodiscover.json
- Query
@1337.com/owa/?=Email=autodiscover/autodiscover.json?@1337.com@1337.com/owa/?&Email=autodiscover/autodiscover.json%3F@1337.coma=@mss.com/owa/?=Email=autodiscover/autodiscover.json?@mss.com- Key headers
Accept-Language: en- Content-Type
{var}- Ports
- 80, 443
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0- Seen in
- 4 repos: cyberheartmi9/Proxyshell-Scanner, horizon3ai/proxyshell, kh4sh3i/ProxyShell, mithridates1313/ProxyShell_POC
- Evidence
- cyberheartmi9/Proxyshell-Scanner/proxyshell.yaml:20 horizon3ai/proxyshell/exchange_proxyshell.py:246 kh4sh3i/ProxyShell/ProxyShell.py:243 kh4sh3i/ProxyShell/proxyshell.yaml:20 mithridates1313/ProxyShell_POC/Proxyshell.py:10
HEAD /autodiscover/autodiscover.json
- Query
@evil.com/Powershell?=Email=autodiscover/autodiscover.json?@evil.com@evil.com/Powershell?=Email=autodiscover/autodiscover.json%3f@evil.com- Ports
- 443
- Seen in
- 1 repo: cyberheartmi9/Proxyshell-Scanner
- Evidence
- cyberheartmi9/Proxyshell-Scanner/ProxyNotShell/CVE-2022-41040.py:32 cyberheartmi9/Proxyshell-Scanner/ProxyNotShell/CVE-2022-41040.py:29
POST /aspnet_client/TEST2.aspx
- Content-Type
application/x-www-form-urlencoded- Ports
- 80
- PoC User-Agent
ExchangeServicesClient/0.0.0.0- Seen in
- 1 repo: kh4sh3i/ProxyShell
- Evidence
- kh4sh3i/ProxyShell/manual/shell.py:46
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
POST /autodiscover/autodiscover.json
(?i)^/autodiscover/autodiscover\.json\?(?:.*&)?a=.*a=mhgod@jjvhk\.mrb/EWS/Exchange\.asmx.*a=rand@mm\.com/autodiscover/autodiscover\.xml/
GET /aspnet_client/{var}.aspx
(?i)^/aspnet_client/[^/?#]*\.aspx\?(?:.*&)?exec_code=Response\.Write\(
GET /autodiscover/autodiscover.json
(?i)^/autodiscover/autodiscover\.json\?(?:.*&)?@1337\.com/owa/\?=.*Email=autodiscover/autodiscover\.json\?@1337\.com.*@1337\.com/owa/\?&Email=autodiscover/autodiscover\.json%3F@1337\.com.*a=.*@mss\.com/owa/\?=.*Email=autodiscover/autodiscover\.json\?@mss\.com
HEAD /autodiscover/autodiscover.json
(?i)^/autodiscover/autodiscover\.json\?(?:.*&)?@evil\.com/Powershell\?=Email=autodiscover/autodiscover\.json\?@evil\.com.*@evil\.com/Powershell\?=Email=autodiscover/autodiscover\.json%3f@evil\.com
POST /aspnet_client/TEST2.aspx
(?i)^/aspnet_client/TEST2\.aspx(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
POST /autodiscover/autodiscover.json
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-34473 Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/autodiscover/autodiscover.json"; http.uri; content:"a="; http.uri; content:"a=mhgod@jjvhk.mrb/EWS/Exchange.asmx"; http.uri; content:"a=rand@mm.com/autodiscover/autodiscover.xml/"; http.header; content:"Cookie: Email=autodiscover/autodiscover.json?a=rand@mm.com"; nocase; http.header; content:"Msexchlogonmailbox: S-1-5-20"; nocase; http.header; content:"X-Clientapplication: MapiHttpClient/15.1.225.37"; nocase; http.header; content:"X-Requestid: 5b8cd8f9-9a64-490d-8f0a-713c6cf078c9:1"; nocase; http.header; content:"X-Requesttype: Connect"; nocase; http.request_body; content:"<soap:Envelope xmlns:xsi=|22|http://www.w3.org/2001/XMLSchema-instance|22| xmlns:m=|22|http://schemas.microsoft.com/excha"; http.request_body; content:"|22||22|<Autodiscover xmlns=|22|http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006|22|>"; reference:url,poc.griffinguard.io/cve/CVE-2021-34473; classtype:web-application-attack; sid:9809433; rev:1;)
GET /aspnet_client/{var}.aspx
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-34473 Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/aspnet_client/"; http.uri; content:".aspx"; http.uri; content:"exec_code=Response.Write("; reference:url,poc.griffinguard.io/cve/CVE-2021-34473; classtype:web-application-attack; sid:9688179; rev:1;)
GET /autodiscover/autodiscover.json
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2021-34473 Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/autodiscover/autodiscover.json"; http.uri; content:"@1337.com/owa/?="; http.uri; content:"Email=autodiscover/autodiscover.json?@1337.com"; http.uri; content:"@1337.com/owa/?&Email=autodiscover/autodiscover.json%3F@1337.com"; http.uri; content:"a="; http.uri; content:"@mss.com/owa/?="; http.uri; content:"Email=autodiscover/autodiscover.json?@mss.com"; http.header; content:"Accept-Language: en"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-34473; classtype:web-application-attack; sid:9668025; rev:1;)
HEAD /autodiscover/autodiscover.json
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2021-34473 Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt"; flow:established,to_server; http.method; content:"HEAD"; http.uri; content:"/autodiscover/autodiscover.json"; http.uri; content:"@evil.com/Powershell?=Email=autodiscover/autodiscover.json?@evil.com"; http.uri; content:"@evil.com/Powershell?=Email=autodiscover/autodiscover.json%3f@evil.com"; reference:url,poc.griffinguard.io/cve/CVE-2021-34473; classtype:web-application-attack; sid:9564285; rev:1;)
POST /aspnet_client/TEST2.aspx
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2021-34473 Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/aspnet_client/TEST2.aspx"; reference:url,poc.griffinguard.io/cve/CVE-2021-34473; classtype:web-application-attack; sid:9119074; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
POST /autodiscover/autodiscover.json
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34473)
id: gg-pocmon-cve-2021-34473-9809433
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-34473
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/autodiscover/autodiscover.json'
cs-uri-query|contains|all:
- 'a='
- 'a=mhgod@jjvhk.mrb/EWS/Exchange.asmx'
- 'a=rand@mm.com/autodiscover/autodiscover.xml/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.34473
GET /aspnet_client/{var}.aspx
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34473)
id: gg-pocmon-cve-2021-34473-9688179
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-34473
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/aspnet_client/'
- '.aspx'
cs-uri-query|contains|all:
- 'exec_code=Response.Write('
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.34473
GET /autodiscover/autodiscover.json
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34473)
id: gg-pocmon-cve-2021-34473-9668025
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-34473
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/autodiscover/autodiscover.json'
cs-uri-query|contains|all:
- '@1337.com/owa/?='
- 'Email=autodiscover/autodiscover.json?@1337.com'
- '@1337.com/owa/?&Email=autodiscover/autodiscover.json%3F@1337.com'
- 'a='
- '@mss.com/owa/?='
- 'Email=autodiscover/autodiscover.json?@mss.com'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.34473
HEAD /autodiscover/autodiscover.json
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34473)
id: gg-pocmon-cve-2021-34473-9564285
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-34473
logsource:
category: webserver
detection:
selection:
cs-method: HEAD
cs-uri-stem|contains|all:
- '/autodiscover/autodiscover.json'
cs-uri-query|contains|all:
- '@evil.com/Powershell?=Email=autodiscover/autodiscover.json?@evil.com'
- '@evil.com/Powershell?=Email=autodiscover/autodiscover.json%3f@evil.com'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.34473
POST /aspnet_client/TEST2.aspx
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34473)
id: gg-pocmon-cve-2021-34473-9119074
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2021-34473
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/aspnet_client/TEST2.aspx'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2021.34473