PoC Monitor
← All CVEs
CVE-2021-40444published 15 Sep 2021 11:24 UTCData: JSON · API

Microsoft Windows 10

Microsoft MSHTML Remote Code Execution Vulnerability

Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft Windows. Microsoft is aware of targeted attacks that attempt to exploit this vulnerability by using specially-crafted Microsoft Office documents. An attacker could craft a malicious ActiveX control to be used by a Microsoft Office document that hosts the browser rendering engine. The attacker would then have to convince the user to open the malicious document. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Microsoft Defender Antivirus and Microsoft Defender for Endpoint both provide detection and protections for the known vulnerability. Customers should keep antimalware products up to date. Customers who utilize automatic updates do not need to take additional action. Enterprise customers who manage updates should select the detection build 1.349.22.0 or newer and deploy it across their environments. Microsoft Defender for Endpoint alerts will be displayed as: “Suspicious Cpl File Execution”. Upon completion of this investigation, Microsoft will take the appropriate action to help protect our customers. This may include providing a security update through our monthly release process or providing an out-of-cycle security update, depending on customer needs. Please see the Mitigations and Workaround sections for important information about steps you can take to protect your system from this vulnerability. UPDATE September 14, 2021: Microsoft has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. Please see the FAQ for important information about which updates are applicable to your system.

First public PoC 6.1 days beforebefore publication · 9 Sep 2021
Public PoCs76 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CNA · CWE-22
CISA KEV 3 Nov 202149 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-7t=0+7+14+21+28+35+42+49First public PoC9 Sep 2021 · t−6.1dCVE published15 Sep 2021 · t = 0Added to CISA KEV3 Nov 2021 · t+49d

First public PoC 6.1 days before publication; added to CISA KEV 49 days after publication. First PoC: bambooqj/CVE-2021-40444_EXP_JS (created 9 Sep 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

6 PoCs · 10 pending · 18 informational · 21 suspicious or fake

PoCs 6
RepositoryCreatedStarsAssessment
bambooqj/CVE-2021-40444_EXP_JS 9 Sep 2021 −6.1 d 4 PoC
Immersive-Labs-Sec/cve-2021-40444-analysis 9 Sep 2021 −5.8 d 0 PoC
kal1gh0st/CVE-2021-40444_CAB_archives 24 Sep 2021 +9 d 0 PoC via PoC Index
H0j3n/CVE-2021-40444 3 Oct 2021 +18 d 12 PoC
34zY/Microsoft-Office-Word-MSHTML-Remote-Code-Execution-Exploit 19 Dec 2021 +95 d 65 PoC
retr0-13/MsWordRCE 10 Mar 2022 +176 d 0 PoC
Pending 10
RepositoryCreatedStarsAssessment
Jeromeyoung/MSHTMHell 14 Sep 2021 −21 h 0 Pending
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Phuong39/CVE-2021-40444-CAB unknown 0 Pending · repository unavailable (HTTP 404)
Udyz/CVE-2021-40444-CAB unknown 0 Pending · repository unavailable (HTTP 404)
Udyz/CVE-2021-40444-Sample unknown 0 Pending · repository unavailable (HTTP 404)
awsassets/CVE-2021-40444-evtx unknown 0 Pending · repository unavailable (HTTP 404)
gh0stxplt/CVE-2021-40444-URL-Extractor unknown 0 Pending · repository unavailable (HTTP 404)
js-on/CVE-2021-40444 unknown 0 Pending · repository unavailable (HTTP 404)
nightrelax/Exploit-PoC-CVE-2021-40444-inject-ma-doc-vao-docx unknown 0 Pending · repository unavailable (HTTP 404)
vanhohen/MSHTML-CVE-2021-40444 unknown 0 Pending · repository unavailable (HTTP 404)
zaneGittins/CVE-2021-40444-evtx unknown 0 Pending · repository unavailable (HTTP 404)
Informational 18
RepositoryCreatedStarsAssessment
ozergoker/CVE-2021-40444 8 Sep 2021 −7.1 d 20 Informational · write-up
DarkSprings/CVE-2021-40444 9 Sep 2021 −6.4 d 10 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

rfcxv/CVE-2021-40444-POC 9 Sep 2021 −6.3 d 20 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

vysecurity/CVE-2021-40444 9 Sep 2021 −5.5 d 3 Informational · write-up
k4k4/CVE-2021-40444-Sample 10 Sep 2021 −5 d 4 Informational · write-up
fengjixuchui/CVE-2021-40444-docx-Generate 11 Sep 2021 −4.4 d 7 Informational · write-up
KnoooW/CVE-2021-40444-docx-Generate 11 Sep 2021 −4.2 d 0 Informational · write-up
jamesrep/cve-2021-40444 12 Sep 2021 −3.1 d 0 Informational · write-up
aydianosec/CVE2021-40444 14 Sep 2021 −1.4 d 12 Informational · write-up
k8gege/CVE-2021-40444 14 Sep 2021 −18 h 23 Informational · write-up
LazarusReborn/Docx-Exploit-2021 29 Sep 2021 +14 d 5 Informational · write-up
Jeromeyoung/TIC4301_Project 16 Oct 2021 +31 d 0 Informational · write-up
0xK4gura/CVE-2021-40444-POC 28 Oct 2021 +43 d 12 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

kagura-maru/CVE-2021-40444-POC 28 Oct 2021 +43 d 12 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

wh00datz/CVE-2021-40444-POC 28 Oct 2021 +43 d 12 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

nvchungkma/CVE-2021-40444-Microsoft-Office-Word-Remote-Code-Execution- 24 Aug 2022 +343 d 0 Informational · write-up
MohamedAboHelal/CVE-2021-40444 24 Dec 2023 +2.3 y 0 Informational · write-up
rankthree/SOC-Detection-T1003.001-CVE-2021-40444 23 Sep 2026 +5.0 y 0 Informational · detection
Suspicious or fake 21
RepositoryCreatedStarsAssessment
lockedbyte/CVE-2021-40444 10 Sep 2021 −4.8 d 1,862 Fake
mansk1es/Caboom 11 Sep 2021 −3.8 d 11 Fake
W1kyri3/Exploit-PoC-CVE-2021-40444-inject-ma-doc-vao-docx 12 Sep 2021 −3 d 0 Fake
aslitsecurity/CVE-2021-40444_builders 12 Sep 2021 −2.7 d 177 Fake
m4madturk/CVE-2021-40444 14 Sep 2021 −1.1 d 0 Fake
klezVirus/CVE-2021-40444 15 Sep 2021 +11 h 844 Fake
Edubr2020/CVE-2021-40444--CABless 19 Sep 2021 +4.3 d 107 Fake
metehangenel/MSHTML-CVE-2021-40444 15 Oct 2021 +30 d 0 Fake
TiagoSergio/CVE-2021-40444 24 Oct 2021 +39 d 0 Fake
tiagob0b/CVE-2021-40444 24 Oct 2021 +39 d 0 Fake
Zeop-CyberSec/word_mshtml 8 Nov 2021 +54 d 1 Fake
Alexcot25051999/CVE-2021-40444 22 Nov 2021 +68 d 0 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

lisinan988/CVE-2021-40444-exp 25 Nov 2021 +71 d 0 Fake
MRacumen/CVE-2021-40444 28 Dec 2021 +104 d 2 Fake
JMousqueton/PoC-CVE-2022-30190 30 May 2022 +257 d 158 Fake
MrMoys/svn.example.org-code-svn 12 Aug 2022 +331 d 0 Fake
winstxnhdw/CVE-2022-30190 15 Sep 2022 +1.0 y 2 Fake
hqdat809/CVE-2021-40444 5 Jun 2023 +1.7 y 0 Fake
S3N4T0R-0X0/APT28-Adversary-Simulation 7 Apr 2024 +2.6 y 36 Fake
skitkat/CVE-2021-40444-POC 14 Jun 2024 +2.7 y 1 Fake
basim-ahmad/Follina-CVE-and-CVE-2021-40444 28 Jul 2024 +2.9 y 0 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 6 PoC repos

Regex

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

GET /{var}.cab
(?i)^/[^/?#]*\.cab(?:[?#].*)?$
GET /{var}.html
(?i)^/[^/?#]*\.html(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /{var}.cab
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-40444 Microsoft Windows 10 Version 1507 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".cab"; http.header; content:"Content-Disposition: attachment|3b| filename="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-40444; classtype:web-application-attack; sid:9012154; rev:1;)
GET /{var}.html
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-40444 Microsoft Windows 10 Version 1507 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".html"; http.header_names; content:"Content-Disposition"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-40444; classtype:web-application-attack; sid:9891585; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /{var}.cab
title: Microsoft Windows 10 Version 1507 exploit attempt (CVE-2021-40444)
id: gg-pocmon-cve-2021-40444-9012154
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-40444. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-40444
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '.cab'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.40444
GET /{var}.html
title: Microsoft Windows 10 Version 1507 exploit attempt (CVE-2021-40444)
id: gg-pocmon-cve-2021-40444-9891585
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-40444. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-40444
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '.html'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.40444