CVE-2025–53770 EXPLAINED: ToolShell RCE + Live SOC Analysis (Le
The ToolShell vulnerability in on-premises SharePoint allows an unauthenticated attacker to bypass authentication via a crafted POST request with a spoofed Referer header, upload a webshell, extract the machineKey, and then forge ViewState payloads to achieve remote code execution. The text also describes post-exploitation activity including ransomware deployment and provides detection and remediation guidance.
Published on motasemhamdan.medium.com
In this guide, I provide a detailed walkthrough for security analysts on how to identify, investigate, and respond to the ToolShell vulnerability (CVE-2025–53770). This critical vulnerability affects on-premises Microsoft SharePoint servers and allows unauthorized attackers to achieve remote code execution through the…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an authentication bypass in the ToolPane endpoint combined with unsafe deserialization of ViewState data, allowing an attacker to upload a webshell and extract the machineKey to forge valid ViewState payloads.
What the attacker needed
On-premises SharePoint server; Network access to the SharePoint server; No authentication required
The fix
Apply the relevant SharePoint cumulative updates, rotate the machineKey before and after patching, enable AMSI and Defender, and segment or disconnect vulnerable servers if protections cannot be enabled.
How it was found
- Send a crafted HTTP POST to the ToolPane endpoint with a spoofed Referer header to bypass authentication.
- Upload a malicious webshell (e.g., spinstall0.aspx) into the SharePoint layouts directory.
- Use the webshell to harvest the server's machineKey (validation and decryption keys).
- Forge valid ViewState payloads using the stolen keys and a tool like ysoserial to achieve remote code execution.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes a serious security flaw in Microsoft SharePoint, a product many companies use to share documents and collaborate. An attacker can send a specially crafted request that tricks the server into thinking they are already logged in, then upload a malicious file (a webshell) that lets them run commands and steal secret keys. With those keys, they can take full control of the server and even install ransomware.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.