SharePoint Under Siege: Unauthenticated RCE via CVE-2025–53770
SharePoint servers were vulnerable to unauthenticated remote code execution because of incomplete patches for deserialization flaws and weak ViewState protection. Attackers could upload a web shell, extract cryptographic keys, and forge signed ViewState payloads to run code.
Published on medium.com
Let’s break down how these vulnerabilities work, their impact, and how to defend against them with actionable remediation's and compliance context.
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 the root cause is incomplete patching of deserialization logic and weak protection of ViewState, allowing attackers to bypass authentication and forge signed payloads.
Impact
Attackers could achieve unauthenticated remote code execution, extract keys for persistent access, and potentially compromise the entire domain if SharePoint is domain-joined.
What the attacker needed
On-premise SharePoint server; network access to the server
The fix
Microsoft released security updates in July 2025 for SharePoint Subscription Edition and Server 2019, with Server 2016 pending; additionally, organisations should remove unauthorised .aspx files and rotate machineKey values.
How it was found
- Send a crafted HTTP request to the ToolPane endpoint with a spoofed Referer header to bypass authentication.
- Upload a malicious .aspx file to the LAYOUTS directory.
- Use the uploaded web shell to extract machineKey values from web.config.
- Generate a valid ViewState payload using a deserialization tool.
- Send a POST request with the manipulated ViewState to execute code.
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 about a serious security hole in Microsoft SharePoint, a program companies use to share documents and work together. An attacker could send a specially crafted request to a web address and, without logging in, take control of the server. They did this by tricking the server into running their code and by stealing secret keys that let them pretend to be the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.