Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-53770: ToolShell: Unauthenticated Remote Code Execution in Microsoft SharePoint Server

Published Jul 20, 2025 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days22 mentions · peak 6 in a dayToday
CVSS9.8Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Jul 20, 2025
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2025-53770CWE-502 · Deserialization of Untrusted Data
Also known assharepoint_toolshelltoolshelltoolshell_vulnerability

CVE-2025-53770 is an untrusted-data deserialization vulnerability in on-premises Microsoft SharePoint Server that permits an unauthenticated attacker to execute arbitrary code over a network. It bypasses the earlier fix for CVE-2025-49704 and is associated with the ToolShell exploitation chain. Affected products include SharePoint Enterprise Server 2016, SharePoint Server 2019, and SharePoint Server Subscription Edition; SharePoint Online in Microsoft 365 is not affected. Successful exploitation can compromise SharePoint content, server files, and internal configuration. The vulnerability has been exploited in the wild, including by Linen Typhoon.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Unauthenticated remote code execution can compromise the confidentiality, integrity, and availability of affected SharePoint servers. Attackers can access or modify SharePoint content, server files, and internal configuration; deploy malicious payloads; and steal ASP.NET machine keys to support continued access. A compromised server can also provide a foothold for further attacks within the victim network. Broader ToolShell exploitation activity has included file encryption and Warlock ransomware deployment.

Mitigation

If you can’t patch tonight, do this now.

Enable SharePoint Antimalware Scan Interface protections according to Microsoft's guidance, deploy antivirus on every SharePoint server, and enable endpoint detection and response for post-exploitation activity. If AMSI cannot be enabled and effective protections cannot be applied, disconnect affected internet-facing SharePoint systems from service. Disconnect unsupported SharePoint Server 2013 and earlier deployments from the internet. Update IPS and WAF rules to block known exploit patterns, restrict administrative and layout-page privileges, segment SharePoint systems from internal networks, and review comprehensive SharePoint, IIS, and network logs for exploitation and persistence.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft security updates or superseding updates: KB5002768 for SharePoint Server Subscription Edition; KB5002754 and the applicable KB5002753 language-pack update for SharePoint Server 2019; and KB5002760 and the applicable KB5002759 language-pack update for SharePoint Enterprise Server 2016. Investigate servers for existing compromise rather than relying on patching alone. Rotate ASP.NET machine keys before patching, apply the update, rotate the keys again, and restart IIS on every SharePoint server. Remove malicious IIS modules and their configuration entries before restarting IIS, because retained entries can reload persistent modules. Migrate unsupported deployments to supported versions.

Public exploits

Exploits

11 exploits validated by Mallory's analysis. Hidden: 40 rejected by Mallory's analysis as not a working exploit; 5 not yet analyzed, such as Exploit-DB entries.

View more in app →
sharepoint_toolpane_rce.rbThis repository contains a single Metasploit module, 'sharepoint_toolpane_rce.rb', which exploits unauthenticated remote code execution vulnerabilities in Microsoft SharePoint Server (CVE-2025-49704, CVE-2025-49706, and CVE-2025-53771). The exploit leverages a combination of authentication bypass and unsafe deserialization to execute arbitrary commands as the SharePoint site user. The module constructs a malicious serialized .NET DataSet object, compresses it, and embeds it in a crafted XML payload sent via a POST request to the '/_layouts/15/ToolPane.aspx' endpoint. The exploit is unauthenticated and weaponized, allowing for custom command execution. The code is written in Ruby and is structured as a standard Metasploit exploit module, making it easy to use within the Metasploit framework. The repository is highly focused, containing only the exploit module file, and targets vulnerable, unpatched SharePoint Server instances on Windows.Disclosed Jul 8, 2025 · Framework: metasploit · ruby · networkWeaponizedToolshell_CVE-2025-53770This repository provides a functional exploit for CVE-2025-53770 targeting Microsoft SharePoint. The exploit consists of a Python script (toolshell_exploit.py) that automates the upload of a C# webshell (spinstall0.aspx) to a vulnerable SharePoint instance. The attacker must supply valid __VIEWSTATE, __VIEWSTATEGENERATOR, and __EVENTVALIDATION values, which can be obtained from the page source of a SharePoint page. The script uploads the webshell by POSTing these values to the ToolPane.aspx endpoint. Once uploaded, the webshell allows arbitrary command execution via HTTP GET requests to spinstall0.aspx, with the command specified in the 'cmd' query parameter. The exploit also supports delivering a PowerShell reverse shell payload, enabling the attacker to gain an interactive shell on the target. The repository includes a README.md with usage instructions, the Python exploit script, and the C# webshell. The main attack vector is network-based, requiring access to the SharePoint web interface.GreenForceNetworks · Disclosed Jul 22, 2025 · python · c# · networkOperationalCVE-2025-53770This repository provides a sophisticated Python exploit tool ('divine_absolute.py') targeting CVE-2025-53770, a critical unauthenticated remote code execution vulnerability in Microsoft SharePoint Server (2016, 2019, Subscription Edition, and EOL 2010/2013). The exploit leverages a deserialization flaw in the '/_layouts/15/ToolPane.aspx' endpoint, allowing attackers to deliver .NET deserialization payloads (generated via ysoserial.net) to achieve RCE. The tool features multiple operational modes: reconnaissance (detects SharePoint and endpoint accessibility), exploitation (delivers payloads), and full (combines both with optional aggressive exploitation). Payloads can be customized, including PowerShell AMSI bypasses and out-of-band HTTP/DNS pingbacks for verification. The tool supports advanced evasion (URI suffixes, referer spoofing), adaptive rate limiting, concurrency, and forensic logging. Results are output in JSON for analysis. The repository includes a detailed README, the main exploit script, and a requirements file. The exploit is operational, with customizable payloads and verification mechanisms, and is intended for authorized penetration testing and research only.exfil0 · Disclosed Jul 23, 2025 · python · networkOperationalCVE-2025-53770_Raw-HTTP-Request-GeneratorThis repository contains a Python-based exploit (main.py) and an ASPX webshell payload (pwn.aspx) targeting Microsoft SharePoint servers. The exploit works by encoding the ASPX payload, embedding it in a PowerShell script, and then crafting a complex HTTP POST request to the SharePoint ToolPane.aspx endpoint. If the exploit is successful, the payload is written to a specific location on the target server (spinstall0.aspx). The webshell, when accessed, uses .NET reflection to extract and display sensitive cryptographic keys (ValidationKey, DecryptionKey, etc.) from the server's MachineKey configuration. The repository is structured with a main exploit script and a payload file, and is operational in nature, providing a working attack chain for uploading and executing a webshell on vulnerable SharePoint installations.BirdsAreFlyingCameras · Disclosed Jul 25, 2025 · python · aspx · networkOperationalCVE-2025-53770This repository provides a comprehensive proof-of-concept exploit and analysis toolkit for the SharePoint ToolPane unauthenticated remote code execution vulnerability (CVE-2025-53770), along with related authentication bypass and deserialization flaws (CVE-2025-49706, CVE-2025-53771, CVE-2025-49704). The main exploit (exploit/exploit.py) sends a crafted HTTP POST request to the ToolPane.aspx endpoint, leveraging a chain of vulnerabilities to achieve RCE without authentication. The payload is a base64-encoded, gzipped .NET LosFormatter/TypeConfuseDelegate gadget chain that executes arbitrary commands (e.g., PowerShell or cmd.exe) on the target server. Auxiliary scripts include a scanner (scanner/scanner.py) to fingerprint vulnerable SharePoint versions and an analysis tool (analysis/analyse.py) to decode and inspect payloads. The repository also contains a Metasploit module and cURL example for alternative exploitation methods. The exploit targets SharePoint Server 2019 (specific vulnerable versions) and requires only network access to the target. The structure is well-documented, with clear separation between exploitation, scanning, and analysis components.saladin0x1 · Disclosed Sep 4, 2025 · python · ruby · networkOperationalCVE-2025-53770This repository is a proof-of-concept (POC) exploit for Microsoft SharePoint CVE-2025-53770. It contains two files: a README.md describing the exploit and a 'payload' file containing a raw HTTP POST request. The exploit targets the /_layouts/15/ToolPane.aspx endpoint on a SharePoint server, attempting to inject a malicious web part (DWP) via form parameters. The payload includes ASP.NET control registrations and a compressed data table, suggesting an attempt to execute or manipulate server-side code. The exploit is network-based, requiring access to the SharePoint web interface. No detection scripts or fake elements are present; the payload is a direct exploitation attempt. The repository is structured as a minimal POC, with the main exploit logic in the 'payload' file.kaizensecurity · Disclosed Jul 21, 2025 · http · asp.net · networkPoCCVE-2025-53770-ExploitThis repository provides a comprehensive exploit toolkit for CVE-2025-53770, a .NET deserialization vulnerability in Microsoft SharePoint (on-premises) via the ToolPane.aspx endpoint. The exploit targets authenticated users who can inject a malicious WebPart containing a GZIP-compressed, Base64-encoded serialized .NET object, leading to remote code execution (RCE) on the server. The toolkit consists of: - 'exploit.py': The main exploit script, written in Python, which automates detection of SharePoint, version checking, endpoint validation, and delivery of the malicious payload to the /_layouts/15/ToolPane.aspx endpoint. It supports multi-threaded exploitation, proxying, and batch targeting. - 'YSLosf/Program.cs': A C# utility for generating and deserializing LosFormatter-based .NET payloads. It serializes user-supplied commands or objects, encodes them in Base64, and can also deserialize payloads for testing. - 'compress.py': A helper Python script to GZIP-compress and Base64-encode the serialized payload, preparing it for injection. - 'requirements.txt': Lists Python dependencies for the exploit tool. - 'README.md': Extensive documentation covering usage, payload generation, supported versions, and legal disclaimers. The exploit does not include any built-in reverse shell or web shell payloads; users must generate their own payloads using the provided tools. The attack vector is network-based, requiring authenticated access to a vulnerable SharePoint instance. The main fingerprintable endpoint is '/_layouts/15/ToolPane.aspx', with the 'MSOTlPn_DWP' POST parameter used for payload delivery. The toolkit is intended for security researchers and red teamers to test and demonstrate the vulnerability, not for unauthorized use.soltanali0 · Disclosed Jul 21, 2025 · python · csharp · networkPoCOurSharePoint-CVE-2025-53770This repository provides a C# proof-of-concept tool for building exploit payloads targeting Microsoft SharePoint deserialization vulnerabilities (CVE-2025-53770). The main code is in 'OurSharePoint/Program.cs', which takes a Base64-encoded LosFormatter payload (typically generated by ysoserial.net), wraps it in a custom .NET DataSet with a crafted XML schema and diffgram, serializes it using BinaryFormatter, compresses it with GZip, and outputs the result as a Base64-encoded file. The tool allows customization of XML element names for obfuscation. The README provides clear instructions and references to public research and Metasploit implementation. The exploit does not itself deliver the payload to a target but prepares a file suitable for use in further exploitation of vulnerable SharePoint instances. No hardcoded network endpoints or IPs are present; the attack vector is network-based, assuming the payload is delivered to a vulnerable SharePoint deserialization sink.Rabbitbong · Disclosed Jul 24, 2025 · csharp · xml · networkPoCCVE-2025-53770This repository contains a proof-of-concept Python exploit for CVE-2025-53770, targeting Microsoft SharePoint (version 16.0.0.0). The main file, 'exploit.py', reads a list of target SharePoint URLs from 'target.txt', then for each target, sends a crafted POST request to the '/_layouts/15/ToolPane.aspx?DisplayMode=Edit&a=/ToolPane.aspx' endpoint with a custom payload. The script disables SSL verification and uses a specific Referer header. It analyzes the server's response for a 'CompressedDataTable' value, decodes and decompresses it, and searches for patterns indicating vulnerability. If found, it saves the decompressed data to a file in '/tmp/'. The exploit is a POC and does not provide a shell or advanced payload, but demonstrates the vulnerability and extracts potentially sensitive data from the target. The repository structure is simple, with only a README and the exploit script.r3xbugbounty · Disclosed Jul 28, 2025 · python · networkPoCSharePoint-CVE-2025-53770-POCThis repository provides a C# proof-of-concept tool for building exploit payloads targeting CVE-2025-53770, a deserialization remote code execution vulnerability in Microsoft SharePoint. The main code is in 'OurSharePoint/Program.cs', which takes a Base64-encoded LosFormatter payload (such as one generated by ysoserial.net), wraps it in a custom .NET DataSet with a crafted XML schema and diffgram, serializes it using BinaryFormatter, compresses it with GZip, and outputs a Base64-encoded file ready for use in an exploit scenario. The tool is configurable via command-line arguments for input file, output prefix, and XML element names. The README provides clear instructions and references to public research and a Metasploit implementation. The exploit does not itself deliver the payload to a target but prepares a payload that, when delivered to a vulnerable SharePoint instance, can result in arbitrary code execution. The attack vector is network-based, as exploitation requires sending the payload to a SharePoint deserialization endpoint. No hardcoded network endpoints or IPs are present; the tool is a payload builder, not a delivery mechanism.Immersive-Labs-Sec · Disclosed Jul 29, 2025 · csharp · networkPoCCVE-2025-53770This repository contains a proof-of-concept exploit for CVE-2025-53770, an unauthenticated remote code execution vulnerability in Microsoft SharePoint Server 2019 (version 16.0.10383.20020) on Windows Server 2019. The exploit targets the ToolPane.aspx endpoint, abusing unsafe .NET deserialization in the Scorecard:ExcelDataSet control. The repository consists of a README.md with detailed vulnerability and usage information, and a Python script (cve-2025-53770.py) that sends a crafted payload to the vulnerable endpoint. The payload is a GZip-compressed, Base64-encoded .NET object embedded in an ASP.NET control, which, when deserialized by the server, can lead to arbitrary code execution. The script extracts and decodes the server's response, saving the result to a local file for further analysis. No authentication is required, and the exploit is network-based. The code is a functional proof-of-concept and does not include a fully weaponized or customizable payload.Agampreet-Singh · Disclosed Aug 7, 2025 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationSharepoint Serverapplication
Microsoft CorporationSharepoint Server 2016application
Microsoft CorporationSharepoint Server 2019application
FAQ

Frequently asked questions

Is CVE-2025-53770 exploited in the wild?
Yes. As of Nov 14, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 20, 2025.
Is there a public exploit for CVE-2025-53770?
Yes. Mallory tracks 11 public exploits or proofs of concept for CVE-2025-53770, the earliest disclosed Jul 8, 2025.
Is there a patch for CVE-2025-53770?
Install the applicable Microsoft security updates or superseding updates: KB5002768 for SharePoint Server Subscription Edition; KB5002754 and the applicable KB5002753 language-pack update for SharePoint Server 2019; and KB5002760 and the applicable KB5002759 language-pack update for SharePoint Enterprise Server 2016. Investigate servers for existing compromise rather than relying on patching alone.
What products are affected by CVE-2025-53770?
Microsoft Corporation Sharepoint Server, Microsoft Corporation Sharepoint Server 2019, and Microsoft Corporation Sharepoint Server 2016.
How severe is CVE-2025-53770?
CVE-2025-53770 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 14, 2026.
Activity feed

Recent activity

847 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
zeropath blogNews · Nov 11, 2026Overview of CVE-2026-80095: Stored Cross-Site Scripting in SharePoint Server Subscription Edition Enabling Elevation of Privilege - ZeroPath Blog | ZeroPathA vulnerability included in the historical July 2025 on-premises SharePoint exploitation set. The article collectively links that set to Linen Typhoon, Violet Typhoon, and Storm-2603, including ransomware deployment. Updates and incident-specific remediation guidance were available; the historical attribution is explicitly separate from CVE-2026-80095.Read more ↗zeropath blogNews · Nov 11, 2026Brief Summary: Microsoft SharePoint Server CVE-2026-123390 Authenticated Deserialization Remote Code Execution - ZeroPath Blog | ZeroPathA SharePoint patch-bypass vulnerability cited as background to the 2025 ToolShell incidents. Microsoft responded to that incident with security updates, AMSI and endpoint-protection guidance, and machine-key rotation followed by an IIS restart. The content does not individually establish this CVE's use by a particular actor or malware family.Read more ↗zeropath blogNews · Nov 10, 2026Brief Summary: CVE-2026-109502, a SharePoint Server SSRF That Exposes Farm Service Account Credentials - ZeroPath Blog | ZeroPathAn on-premises SharePoint vulnerability cited as historical context for active exploitation in 2025. The content provides no technical details and explicitly separates these incidents from CVE-2026-109502.Read more ↗zeropath blogNews · Nov 10, 2026Brief Summary: Microsoft SharePoint Server CVE-2026-110044 Deserialization Remote Code Execution for Site Members - ZeroPath Blog | ZeroPathA vulnerability involved in the 2025 ToolShell episode affecting on-premises SharePoint, discussed as historical context. It is related to CVE-2025-49704 and was addressed through follow-up updates after an incomplete initial fix. The content attributes exploitation of the historical vulnerabilities to Linen Typhoon, Violet Typhoon, and Storm-2603, with Storm-2603 observed deploying ransomware. These events do not establish exploitation of CVE-2026-110044.Read more ↗
+163 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence208Every report linking this CVE to a named adversary.
Associated malware97Malware families linked to this CVE, with evidence and IOCs.
Detection signatures6YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity32Community discussion across Reddit, Mastodon, and other social sources.