Key Takeaways
- CVE-2025-53770 enables unauthenticated RCE on SharePoint on-premises via form processing flaw.
- All on-premises versions are vulnerable: SharePoint 2016, 2019, and Subscription Edition.
- Active exploitation has been confirmed. Assume your organization may be targeted.
- Patching is urgent — May 2025 cumulative updates and later fix this vulnerability.
- Organizations should conduct forensic analysis to identify past exploitation and implement network segmentation.
In May 2025, Microsoft disclosed CVE-2025-53770, a critical vulnerability in SharePoint on-premises servers. Designated 'ToolShell' by security researchers, this zero-day enables unauthenticated remote code execution — meaning an attacker can take control of your SharePoint servers without a password or valid account. What makes this particularly dangerous: it's been actively exploited in the wild. Attackers haven't waited for a patch — they've been leveraging this vulnerability since early May to compromise enterprise networks, steal data, and establish persistence. If your organization runs SharePoint on-premises, you need to act immediately. This guide explains the vulnerability, the attack chain, and the specific steps to protect your environment.
What is CVE-2025-53770 (ToolShell)?
CVE-2025-53770 is a critical unauthenticated remote code execution vulnerability in Microsoft SharePoint on-premises. It exploits a flaw in SharePoint's form processing to allow attackers to execute arbitrary code with the privileges of the SharePoint application pool, typically resulting in full server compromise.
The Attack Chain: How ToolShell Works
The ToolShell vulnerability exploits SharePoint's form processing endpoint. Understanding the attack chain helps you understand why it's so dangerous.
An attacker sends a specially crafted HTTP POST request to SharePoint's /_layouts/ endpoint (typically /_layouts/15/toolsh.aspx or similar form endpoints). This endpoint is designed to handle form submissions from authenticated users, but the vulnerability bypasses authentication checks.
The malicious payload is embedded in form parameters. SharePoint processes the form and executes the attacker's payload as part of form processing, without validating that the user is authenticated or authorized. The payload can be arbitrary code that executes on the server.
Code execution occurs with the privileges of the SharePoint application pool identity. In most environments, this is a high-privilege service account that can read/write SharePoint databases, access file shares, and interact with domain services.
The attacker can then: establish persistence (create admin accounts, backdoors), steal data (exfiltrate SharePoint content, databases), move laterally (use SharePoint access to attack other systems), or disrupt operations (delete data, lock users out).
- POST request to /_layouts/ endpoint bypasses authentication
- Malicious payload embedded in form parameters
- Code executes with SharePoint application pool privileges
- Attacker gains server-level access, not just SharePoint
- Lateral movement to domain and other systems possible
Affected Versions and What's NOT Affected
SharePoint on-premises versions 2016, 2019, and Subscription Edition (2021+) are all affected until patched. SharePoint Online is NOT vulnerable because Microsoft controls the infrastructure and has already deployed mitigations.
Affected: SharePoint Server 2016, SharePoint Server 2019, SharePoint Server Subscription Edition (2021, 2022, 2023, 2024 editions). All on-premises deployments are vulnerable regardless of cumulative update level, until you apply May 2025 or later updates.
NOT affected: SharePoint Online (Microsoft 365). If your organization migrated to SharePoint Online, you are automatically protected.
Special consideration: SharePoint Server 2013 is out of support and will not receive a patch. Organizations still running 2013 should assume this vulnerability affects their systems and plan immediate migration or isolation.
Detection: Identifying ToolShell Exploitation
Detecting exploitation requires analyzing multiple sources: IIS logs, SharePoint usage logs, and system activity. Forensic analysis is complex but critical.
IIS logs: Look for POST requests to /_layouts/ endpoints from unknown sources. These should be rare — most form submissions come from authenticated users. An attacker's exploit will appear as POST requests without prior authentication (no session cookies, suspicious headers). Filter logs for HTTP 200 responses (successful exploitation) to POST requests that should typically fail.
SharePoint usage logs: Check ULS (Unified Logging Service) logs for unexpected form processing events, particularly errors and exceptions during form submission. Look for 'unexpected form input' or 'unvalidated form data' entries.
New accounts and permissions: Attackers often create admin accounts for persistence. Review user accounts created around May 2025 — look for system accounts, service accounts, or suspicious user names. Check for unexpected permission grants.
System activity: Check Windows event logs for unexpected process execution, registry modifications, or network connections. Look for PowerShell execution (common for post-exploitation), creation of new services, or scheduled tasks.
Critical Mitigation Steps: Immediate Actions
Patching is urgent, but you need a comprehensive mitigation strategy that includes patching, detection, forensics, and segmentation.
Step 1 — Patch immediately: Deploy May 2025 or later cumulative updates to all SharePoint servers. This is the primary defense. Plan downtime and test in staging first, but don't delay deployment.
Step 2 — Conduct forensics: Before and after patching, analyze logs to determine if exploitation has occurred. Assume breach if you find evidence of exploitation. Engage incident response and legal.
Step 3 — Network segmentation: Implement network policies to restrict what a compromised SharePoint server can access. If a server is compromised, limit lateral movement to domain controllers, file servers, and other critical systems.
Step 4 — Monitoring and alerting: Implement continuous monitoring of /_layouts/ endpoints. Alert on suspicious POST requests, especially from unauthenticated sources.
Step 5 — Plan migration: While you patch, plan migration to SharePoint Online. Cloud instances are immune to this vulnerability and simplify security management long-term.
Experience Signal
We've assisted multiple enterprise clients through vulnerability responses. The organizations that acted fastest (patching within 24-48 hours) avoided compromise. Those that delayed or underestimated urgency discovered active exploitation during forensics.
Frequently Asked Questions
CVE-2025-53770 (ToolShell) exploits a flaw in SharePoint's form processing to achieve unauthenticated remote code execution. An attacker can send a specially crafted HTTP request to a vulnerable SharePoint server and execute arbitrary code with the privileges of the SharePoint application pool (typically high privileges). No authentication required.
SharePoint 2016, 2019, and Subscription Edition (2021+) on-premises are all affected. SharePoint Online (cloud) is NOT affected. The vulnerability affects all versions until patched with the May 2025 or later cumulative updates.
Yes. Security researchers have confirmed active exploitation in the wild since early May 2025. Attackers are using this vulnerability to establish persistence, steal data, and move laterally within enterprise networks. Patching is urgent.
Immediately: (1) Check web logs for suspicious POST requests to /_layouts/ endpoints, (2) Review SharePoint usage logs for unusual activity, (3) Check for new service accounts or permissions changes, (4) Engage incident response. Assume breach and investigate thoroughly.
Sources
Is your SharePoint environment protected?
Webnixon helps enterprises assess SharePoint security posture, plan patching strategies, and conduct forensic analysis for CVE-2025-53770 and other vulnerabilities. We also advise on cloud migration to eliminate on-premises attack surfaces.
Schedule a SharePoint security assessmentAbout the author
Marcus Lee
Senior Ecommerce Developer
Marcus leads ecommerce development at Webnixon, with deep expertise in Shopify Plus and Adobe Commerce (Magento). He has shipped 40+ scalable ecommerce builds for retailers and B2B manufacturers, leading complex technical integrations with payment gateways, ERP systems, and third-party fulfillment platforms. He writes about ecommerce architecture, platform selection, and the technical decisions that separate high-performing online stores from average ones.
Related Articles

Web Design
Website Security Best Practices for Small Businesses in 2026
Small businesses have different risk profiles and budgets than enterprises. This guide covers the security practices that deliver the best return on investment for small business websites in 2026.

Web Design
Zero Trust Security: From Network Perimeter to Verify-Everything Architecture
Traditional security assumed your internal network was safe. Zero Trust assumes everything is hostile until proven otherwise. This shift from perimeter-based to verification-based security is becoming standard in 2026. Here's what it means for your organization.

Web Design
Preparing for Post-Quantum Cybersecurity: Why Harvest-Now-Decrypt-Later Attacks Matter Today
Harvest-now-decrypt-later attacks are a real threat: adversaries capture encrypted data today and decrypt it with quantum computers tomorrow. This isn't theoretical. The time to prepare for post-quantum cryptography is now.

