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 publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| xnyuq/cve-2021-42321 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Microsoft Exchange Server ChainedSerializationBinder RCE (exploit/windows/http/exchange_chainedserializationbinder_rce) | 9 Aug 2022 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /ews/exchange.asmx
- Body markers
''<?xml version="1.0" encoding="utf-8"?>intext/xml; charset=utf-8- PoC User-Agent
ExchangeServicesClient/15.01.2308.008- Seen in
- 3 repos: DarkSprings/CVE-2021-42321, timb-machine-mirrors/CVE-2021-42321_poc, timb-machine-mirrors/testanull-CVE-2021-42321_poc.py
- Evidence
- DarkSprings/CVE-2021-42321/CVE-2021-42321_poc.py:47 DarkSprings/CVE-2021-42321/CVE-2021-42321_poc.py:73 DarkSprings/CVE-2021-42321/CVE-2021-42321_poc.py:129 DarkSprings/CVE-2021-42321/CVE-2021-42321_poc.py:155 timb-machine-mirrors/CVE-2021-42321_poc/CVE-2021-42321_poc.py:46 timb-machine-mirrors/CVE-2021-42321_poc/CVE-2021-42321_poc.py:72
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