Skip to content
RCE Write-up Advanced

CVE-2025-53770: Unauthenticated Remote Code Execution in Microsof

An unauthenticated attacker could send a crafted HTTP POST request to an internal SharePoint endpoint, bypassing authentication and form digest validation, to achieve remote code execution. Attackers then stole ASP.NET MachineKeys to forge signed ViewState payloads, enabling persistent code execution even after patching.

CipherX9F Security Follow

Published on medium.com

CVE-2025–53770 is a critical, unauthenticated remote code execution vulnerability affecting on-premises Microsoft SharePoint Server 2016 and 2019. The issue has been confirmed as actively exploited in the wild and has been added to CISA’s Known Exploited Vulnerabilities (KEV) catalog, placing it firmly in the category…

CipherX9F Security, on medium.com

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, SharePoint processed requests to an internal endpoint before enforcing proper authorization checks, allowing attacker-controlled input to reach server-side execution paths.

Impact

Successful exploitation provides unauthenticated remote code execution under the SharePoint service context, often with high privileges, enabling persistent backdoors, credential-equivalent theft, lateral movement, and secondary actions such as data exfiltration or ransomware deployment.

What the attacker needed

Internet-exposed on-prem SharePoint Server; No credentials required

The fix

Remediation must include patching, MachineKey rotation, thorough log review, and validation that no malicious ViewState usage or web shell persistence remains.

How it was found

  1. Scan for exposed SharePoint instances.
  2. Send a crafted POST request to the ToolPane endpoint with a spoofed Referer header.
  3. The request bypasses authentication and reaches server-side code, spawning system utilities.
  4. Write a malicious ASP.NET file into the LAYOUTS directory to establish persistence.
  5. Use that file to extract ASP.NET MachineKeys from the configuration.
  6. Forge signed ViewState payloads with the stolen keys to run code repeatedly.

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.

SharePoint is a Microsoft web application for documents and collaboration. A flaw let anyone on the internet send a special web request that made the server run their commands without logging in. Attackers also stole secret signing keys so they could keep running commands even after the hole was patched.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.