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.
Timeline
Days relative to CVE publicationFirst 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Sitecore Experience Platform (XP) PreAuth Deserialization RCE (exploit/windows/http/sitecore_xp_cve_2021_42237) | 11 Nov 2021 | 14 Nov 2026 |
| nuclei template | nuclei template: Sitecore Experience Platform Pre-Auth RCE | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /sitecore/shell/ClientBin/Reporting/Report.ashx
- Key headers
Accept: */*Accept-Language: en- Body markers
<?xml version="1.0" ?>''<?xml version="1.0" ?>intext/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.17763Mozilla/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.
(?i)^/sitecore/shell/ClientBin/Reporting/Report\.ashx(?:[?#].*)?$
(?i)^/api/dns/pzying/test/\?(?:.*&)?token=ba8bcf82
(?i)^/images/logo/logo-eoffice\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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.
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
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
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