What is Sitecore?
Sitecore is a leading enterprise digital experience platform (DXP) used by large organizations and government agencies for website content management, customer experience personalization, and e-commerce. Sitecore Experience Manager (XM), Experience Platform (XP), and Experience Commerce (XC) are deployed on-premises as ASP.NET applications on Windows Server / IIS. Sitecore-powered websites often handle sensitive user data, manage e-commerce transactions, and integrate with CRM and marketing automation systems. Because Sitecore is internet-facing by design and runs in a trusted application server context, a code execution vulnerability can expose the full underlying server.
Overview
CVE-2025-53690 is a critical deserialization vulnerability (CWE-502) in Sitecore's on-premises products caused by the use of publicly known default ASP.NET machine keys from pre-2017 Sitecore documentation. ASP.NET uses machine keys to sign and validate ViewState — the serialized page state transmitted in HTTP requests. Because Sitecore's legacy deployment guides included sample static machine keys that many organizations deployed verbatim, attackers who know these keys can forge malicious __VIEWSTATE payloads that ASP.NET deserializes and executes as code. Mandiant discovered active exploitation and the WEEPSTEEL reconnaissance backdoor deployed against compromised instances. CISA added it to the KEV catalog one day after disclosure.
Affected Versions
| Product | Vulnerable | Condition |
|---|---|---|
| Sitecore Experience Manager (XM) | All versions | If default sample <machineKey> from pre-2017 docs is in web.config |
| Sitecore Experience Platform (XP) | All versions | Same condition |
| Sitecore Experience Commerce (XC) | All versions | Same condition |
| Sitecore Managed Cloud | All versions | Same condition |
Not affected: Sitecore XM Cloud, Content Hub, CDP, Personalize, OrderCloud, Storefront, Send, Discover, Search, Commerce Server.
There is no code patch — this is a configuration vulnerability. The fix is to replace the machine key. Current Sitecore deployment tooling generates unique machine keys automatically; the issue persists only in legacy installations that retained sample keys.
Technical Details
The vulnerability (CWE-502: Deserialization of Untrusted Data) exploits ASP.NET's ViewState mechanism. ViewState stores serialized page state in a hidden __VIEWSTATE form field, transmitted with each postback request. ASP.NET uses the machine key (from web.config → <system.web> → <machineKey>) to sign (HMAC) and optionally encrypt ViewState, preventing tampering.
Sitecore's pre-2017 deployment guides contained sample <machineKey> values (e.g., decryptionKey and validationKey with specific hex values). Many organizations copied these values verbatim into production environments and never changed them. Because these keys are now publicly known, any attacker can:
- Craft a malicious
__VIEWSTATEpayload containing a .NET deserialization gadget chain targeting classes available in the Sitecore/ASP.NET runtime. - Sign the payload using the known machine key — producing a valid HMAC that ASP.NET accepts.
- Submit the payload via an HTTP POST to any Sitecore endpoint that processes ViewState (e.g.,
/sitecore/blocked.aspx). - ASP.NET deserializes the payload and executes the gadget chain as the IIS application pool identity.
This attack class is not unique to Sitecore — Microsoft warned about publicly known ASP.NET machine keys broadly in 2020. CVE-2025-53690 represents the Sitecore-specific instance now formally confirmed as exploited in the wild.
Discovery
Mandiant (Google Cloud) discovered active exploitation during incident response. Mandiant analyzed captured network traffic, decrypted the __VIEWSTATE payloads using the known machine key, and found embedded .NET assemblies identified as WEEPSTEEL — a reconnaissance tool that collects and exfiltrates system information, disk data, network configuration, and running process lists. Exfiltration is disguised as benign __VIEWSTATE HTTP responses to evade detection. Also identified: EARTHWORM (a SOCKS tunneler for network pivoting) and DWAGENT (a legitimate remote administration tool repurposed for persistence).
Exploitation Context
Zero-day exploitation confirmed at time of disclosure (3 September 2025) — exploitation predated any CVE or Sitecore advisory. Attackers created local administrator accounts (e.g., asp$, sawadmin) via the RCE to establish persistence. The WEEPSTEEL, EARTHWORM, and DWAGENT toolset was deployed for reconnaissance, persistence, and lateral movement. Mandiant did not attribute activity to a known named threat actor or UNC group. The attack pattern is opportunistic — any Sitecore instance retaining the well-known sample machine key is vulnerable, making mass scanning-based exploitation straightforward. CISA added CVE-2025-53690 to the KEV catalog on 4 September 2025 with a 21-day federal remediation deadline.
Remediation
- Immediately replace all
<machineKey>values in production Sitecoreweb.configfiles with newly generated unique keys. Use ASP.NET's machine key generator or PowerShell:[System.Web.Security.MachineKeySection]::GenerateCompatibleMachineKey("SHA1", "AES"). Apply to all servers in the farm simultaneously to maintain ViewState compatibility. - Encrypt the
<machineKey>element using DPAPI (aspnet_regiis -pe "system.web/machineKey" -app "/") to protect the keys at rest. - Verify the current keys are NOT the Sitecore sample keys — compare against Sitecore KB1003865's list of known vulnerable key values.
- Hunt for WEEPSTEEL indicators: inspect IIS and application logs for
__VIEWSTATEpayloads that are unusually large (embedded assemblies are significantly larger than normal ViewState) or contain binary-format content. - Search for rogue local accounts:
net localgroup administratorson all Sitecore servers — look for accounts such asasp$,sawadmin, or any unrecognized administrator accounts created after deployment. - Scan for EARTHWORM and DWAGENT: check for unusual SOCKS proxy processes or remote administration tools not part of the standard server baseline.
- Consult Sitecore KB1003865 for the complete list of known compromised machine key values and detailed remediation guidance.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2025-53690 |
| Vendor / Product | Sitecore — Multiple Products |
| NVD Published | 2025-09-03 |
| NVD Last Modified | 2025-10-30 |
| CVSS 3.1 Score | 9 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-502 find similar ↗ |
| CISA KEV Added | 2025-09-04 |
| CISA KEV Deadline | 2025-09-25 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2025-09-03 | CVE published; Sitecore KB1003865 published; Mandiant discloses active zero-day exploitation and WEEPSTEEL malware |
| 2025-09-04 | CISA adds to Known Exploited Vulnerabilities catalog |
| 2025-09-25 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Sitecore KB1003865 — Machine Key Security | Vendor Advisory |
| NVD — CVE-2025-53690 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Google Cloud / Mandiant — ViewState Deserialization Zero-Day | Security Research |
| BleepingComputer — Hackers Exploited Sitecore Zero-Day to Deploy Backdoors | News |
| SOCRadar — CVE-2025-53690 Sitecore WEEPSTEEL Malware | Security Research |
| CISA Orders Immediate Patch of Critical Sitecore Vulnerability | News |