PoC Monitor
← All CVEs
CVE-2021-42321published 10 Nov 2021 00:47 UTCData: JSON · API

Microsoft Exchange Server 2016 Cumulative Update 21

Microsoft Exchange Server Remote Code Execution Vulnerability

Microsoft Exchange Server Remote Code Execution Vulnerability

First public PoC 13 daysafter publication · 23 Nov 2021
Public PoCs43 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CNA · CWE-noinfo
CISA KEV 17 Nov 20217 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10+12+14CVE published10 Nov 2021 · t = 0Added to CISA KEV17 Nov 2021 · t+7dFirst public PoC23 Nov 2021 · t+13d

First public PoC 13 days after publication; added to CISA KEV 7 days after publication. First PoC: DarkSprings/CVE-2021-42321 (created 23 Nov 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

3 PoCs · 1 pending · 2 suspicious or fake

PoCs 3
RepositoryCreatedStarsAssessment
DarkSprings/CVE-2021-42321 23 Nov 2021 +13 d 83 PoC
timb-machine-mirrors/CVE-2021-42321_poc 5 Jan 2022 +57 d 0 PoC
timb-machine-mirrors/testanull-CVE-2021-42321_poc.py 5 Jan 2022 +57 d 0 PoC
Pending 1
RepositoryCreatedStarsAssessment
xnyuq/cve-2021-42321 unknown 0 Pending · repository unavailable (HTTP 404)
Suspicious or fake 2
RepositoryCreatedStarsAssessment
pwntester/ysoserial.net 18 Sep 2017 −4.1 y 3,806 Fake
7BitsTeam/exch_CVE-2021-42321 8 Oct 2022 +333 d 10 Fake

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 3 PoC repos

Regex

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

POST /ews/exchange.asmx
(?i)^/ews/exchange\.asmx(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /ews/exchange.asmx
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-42321 Microsoft Microsoft Exchange Server 2016 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ews/exchange.asmx"; http.request_body; content:"''<?xml version=|22|1.0|22| encoding=|22|utf-8|22|?>"; reference:url,poc.griffinguard.io/cve/CVE-2021-42321; classtype:web-application-attack; sid:9025409; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /ews/exchange.asmx
title: Microsoft Microsoft Exchange Server 2016 Cumulative Update 21 exploit attempt (CVE-2021-42321)
id: gg-pocmon-cve-2021-42321-9025409
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-42321. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-42321
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ews/exchange.asmx'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.42321