PoC Monitor
← All CVEs
CVE-2021-34523published 14 Jul 2021 17:54 UTCData: JSON · API

Microsoft Exchange Server 2013 Cumulative Update 23

Microsoft Exchange Server Elevation of Privilege Vulnerability

Microsoft Exchange Server Elevation of Privilege Vulnerability

First public PoC 35 daysafter publication · 18 Aug 2021 · Metasploit
Public PoCs54 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.0critical · scored by CNA · CWE-noinfo
CISA KEV 3 Nov 2021112 days after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98+112CVE published14 Jul 2021 · t = 0First public PoC18 Aug 2021 · t+35dAdded to CISA KEV3 Nov 2021 · t+112d

First public PoC 35 days after publication; added to CISA KEV 112 days after publication. First PoC: Metasploit exploit: Microsoft Exchange ProxyShell RCE (exploit/windows/http/exchange_proxyshell_rce) (Metasploit, 18 Aug 2021).

PoC repositories

Found on GitHub.

4 PoCs · 1 informational

PoCs 4
RepositoryCreatedStarsAssessment
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
SUPRAAA-1337/CVE-2021-34523 2 Sep 2023 +2.1 y 2 Scanner
Informational 1
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 4 PoC repos

GET /autodiscover/autodiscover.json

Query
@mss.com/owa/?= Email=autodiscover/autodiscover.json?@mss.com a=
Content-Type
{var}
Ports
80
Seen in
3 repos: SUPRAAA-1337/CVE-2021-34523, horizon3ai/proxyshell, mithridates1313/ProxyShell_POC
Evidence
SUPRAAA-1337/CVE-2021-34523/CVE-2021-34523.yaml:22 horizon3ai/proxyshell/exchange_proxyshell.py:246 mithridates1313/ProxyShell_POC/Proxyshell.py:10

POST /autodiscover/autodiscover.json

Query
a=
Content-Type
{var}
Ports
80, 8080
Seen in
2 repos: aravazhimdr/ProxyShell-POC-Mod, horizon3ai/proxyshell
Evidence
aravazhimdr/ProxyShell-POC-Mod/proxyshell_mod.py:49 horizon3ai/proxyshell/exchange_proxyshell.py:229

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /autodiscover/autodiscover.json
(?i)^/autodiscover/autodiscover\.json\?(?:.*&)?@mss\.com/owa/\?=.*Email=autodiscover/autodiscover\.json\?@mss\.com.*a=
GET /aspnet_client/{var}.aspx
(?i)^/aspnet_client/[^/?#]*\.aspx\?(?:.*&)?exec_code=Response\.Write\(
POST /autodiscover/autodiscover.json
(?i)^/autodiscover/autodiscover\.json\?(?:.*&)?a=

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /autodiscover/autodiscover.json
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2021-34523 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:"@mss.com/owa/?="; http.uri; content:"Email=autodiscover/autodiscover.json?@mss.com"; http.uri; content:"a="; reference:url,poc.griffinguard.io/cve/CVE-2021-34523; classtype:web-application-attack; sid:9260243; rev:1;)
GET /aspnet_client/{var}.aspx
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-34523 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-34523; classtype:web-application-attack; sid:9603529; rev:1;)
POST /autodiscover/autodiscover.json
alert http any any -> $HOME_NET [80,8080] (msg:"GG PoC-Monitor CVE-2021-34523 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="; reference:url,poc.griffinguard.io/cve/CVE-2021-34523; classtype:web-application-attack; sid:9887883; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /autodiscover/autodiscover.json
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34523)
id: gg-pocmon-cve-2021-34523-9260243
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34523. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-34523
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/autodiscover/autodiscover.json'
    cs-uri-query|contains|all:
      - '@mss.com/owa/?='
      - 'Email=autodiscover/autodiscover.json?@mss.com'
      - 'a='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.34523
GET /aspnet_client/{var}.aspx
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34523)
id: gg-pocmon-cve-2021-34523-9603529
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34523. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-34523
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.34523
POST /autodiscover/autodiscover.json
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 23 exploit attempt (CVE-2021-34523)
id: gg-pocmon-cve-2021-34523-9887883
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-34523. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-34523
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/autodiscover/autodiscover.json'
    cs-uri-query|contains|all:
      - 'a='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.34523