CVE‑2025‑53770 — SharePoint ToolShell Exploit
A remote code execution flaw in Microsoft SharePoint allows an unauthenticated attacker to run commands and upload a web shell by sending requests to a specific endpoint with a spoofed Referer header. The attacker could gain full control of the server.
medium.com
Published on medium.com
CVE‑2025‑53770 is a Remote Code Execution (RCE) vulnerability in Microsoft SharePoint. It allows an attacker to:
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
Impact
An unauthenticated attacker could execute arbitrary commands and upload a web shell, gaining full control over the SharePoint server.
What the attacker needed
Network access to SharePoint server; no authentication required
The fix
Apply the official Microsoft patch and consider additional mitigations such as changing MachineKey/ValidationKey, using a WAF, and restricting external access.
How it was found
- Find the target SharePoint server's IP address.
- Send a POST request to the ToolPane.aspx endpoint with a spoofed Referer header and a command payload to test for vulnerability.
- Create a malicious .aspx web shell file.
- Upload the web shell using a POST request with the file as raw data.
- Access the uploaded shell in a browser to execute commands.
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 is a bug in Microsoft SharePoint, a tool companies use to share documents. The bug lets anyone run commands on the server without needing a username or password, simply by pretending to come from a trusted page. That means an attacker could take over the whole server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.