PoC Monitor
← All CVEs
CVE-2021-42237published 5 Nov 2021 09:51 UTCData: JSON · API

Sitecore XP

Sitecore XP Remote Command Execution Vulnerability

Sitecore XP 7.5 Initial Release to Sitecore XP 8.2 Update-7 is vulnerable to an insecure deserialization attack where it is possible to achieve remote command execution on the machine. No authentication or special configuration is required to exploit this vulnerability.

First public PoC 6.5 daysafter publication · 11 Nov 2021 · Metasploit
Public PoCs53 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-502
CISA KEV 25 Mar 2022140 days after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+30+60+90+120CVE published5 Nov 2021 · t = 0First public PoC11 Nov 2021 · t+6.5dAdded to CISA KEV25 Mar 2022 · t+140d

First public PoC 6.5 days after publication; added to CISA KEV 140 days after publication. First PoC: Metasploit exploit: Sitecore Experience Platform (XP) PreAuth Deserialization RCE (exploit/windows/http/sitecore_xp_cve_2021_42237) (Metasploit, 11 Nov 2021).

PoC repositories

Found on GitHub.

3 PoCs · 1 informational

PoCs 3
RepositoryCreatedStarsAssessment
ItsIgnacioPortal/CVE-2021-42237 16 Jan 2022 +72 d 14 PoC via PoC Index
PinkDev1/CVE-2021-42237 16 Jan 2022 +72 d 14 PoC via PoC Index
vesperp/CVE-2021-42237-SiteCore-XP 30 Jun 2022 +237 d 1 PoC
Informational 1
RepositoryCreatedStarsAssessment
crankyyash/SiteCore-RCE-Detection 22 Sep 2022 +321 d 0 Informational · detection

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

POST /sitecore/shell/ClientBin/Reporting/Report.ashx

Key headers
Accept: */* Accept-Language: en
Body markers
<?xml version="1.0" ?> ''<?xml version="1.0" ?> in text/xml
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Seen in
3 repos: ItsIgnacioPortal/CVE-2021-42237, PinkDev1/CVE-2021-42237, vesperp/CVE-2021-42237-SiteCore-XP
Evidence
ItsIgnacioPortal/CVE-2021-42237/README.md:9 PinkDev1/CVE-2021-42237/README.md:9 vesperp/CVE-2021-42237-SiteCore-XP/Sitecore_RCE.py:109

GET /api/dns/pzying/test/

Query
token=ba8bcf82
Ports
8080
Seen in
1 repo: vesperp/CVE-2021-42237-SiteCore-XP
Evidence
vesperp/CVE-2021-42237-SiteCore-XP/Sitecore_RCE.py:111

GET /images/logo/logo-eoffice.php

Ports
8080
Seen in
1 repo: vesperp/CVE-2021-42237-SiteCore-XP
Evidence
vesperp/CVE-2021-42237-SiteCore-XP/Sitecore_RCE.py:110

Regex

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

POST /sitecore/shell/ClientBin/Reporting/Report.ashx
(?i)^/sitecore/shell/ClientBin/Reporting/Report\.ashx(?:[?#].*)?$
GET /api/dns/pzying/test/
(?i)^/api/dns/pzying/test/\?(?:.*&)?token=ba8bcf82
GET /images/logo/logo-eoffice.php
(?i)^/images/logo/logo-eoffice\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /sitecore/shell/ClientBin/Reporting/Report.ashx
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2021-42237 Sitecore XP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/sitecore/shell/ClientBin/Reporting/Report.ashx"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en"; nocase; http.request_body; content:"<?xml version=|22|1.0|22| ?>"; http.request_body; content:"''<?xml version=|22|1.0|22| ?>"; reference:url,poc.griffinguard.io/cve/CVE-2021-42237; classtype:web-application-attack; sid:9451513; rev:1;)
GET /api/dns/pzying/test/
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2021-42237 Sitecore XP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/dns/pzying/test/"; http.uri; content:"token=ba8bcf82"; reference:url,poc.griffinguard.io/cve/CVE-2021-42237; classtype:web-application-attack; sid:9608347; rev:1;)
GET /images/logo/logo-eoffice.php
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2021-42237 Sitecore XP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/images/logo/logo-eoffice.php"; reference:url,poc.griffinguard.io/cve/CVE-2021-42237; classtype:web-application-attack; sid:9524009; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /sitecore/shell/ClientBin/Reporting/Report.ashx
title: Sitecore XP exploit attempt (CVE-2021-42237)
id: gg-pocmon-cve-2021-42237-9451513
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-42237. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-42237
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/sitecore/shell/ClientBin/Reporting/Report.ashx'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.42237
GET /api/dns/pzying/test/
title: Sitecore XP exploit attempt (CVE-2021-42237)
id: gg-pocmon-cve-2021-42237-9608347
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-42237. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-42237
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/dns/pzying/test/'
    cs-uri-query|contains|all:
      - 'token=ba8bcf82'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.42237
GET /images/logo/logo-eoffice.php
title: Sitecore XP exploit attempt (CVE-2021-42237)
id: gg-pocmon-cve-2021-42237-9524009
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-42237. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-42237
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/images/logo/logo-eoffice.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.42237