Skip to content
RCE Write-up Advanced

CVE-2025–53770: A Critical RCE vulnerin SharePoint Under Active

A deserialization flaw in on-premise SharePoint allows unauthenticated remote code execution, and attackers who exploit it can steal ASP.NET MachineKeys to forge signed __VIEWSTATE payloads that remain valid after patching. This enables persistent access and lateral movement across Microsoft 365 services.

RealSec.io Follow

Published on medium.com

A newly discovered zero-day vulnerability in Microsoft SharePoint Server, tracked as CVE-2025–53770, is currently being weaponized in the wild, enabling unauthenticated remote code execution (RCE). Exploitation activity has been confirmed across multiple organizations, with adversaries establishing persistent…

RealSec.io, 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

Impact

Attackers could achieve unauthenticated remote code execution and, by stealing MachineKeys, maintain persistent access even after patching, potentially leading to lateral movement across Microsoft 365 services; only on-premise SharePoint is affected, while SharePoint Online is not.

What the attacker needed

On-premise SharePoint Server; unauthenticated network access; no user interaction

The fix

Microsoft issued a revised patch with expanded validation checks and memory safety enhancements, and defenders should also manually rotate ASP.NET MachineKeys and restart IIS.

How it was found

  1. Send malicious input that triggers insecure deserialization routines within SharePoint.
  2. Achieve code execution on the SharePoint server.
  3. Extract the ASP.NET MachineKey values, specifically ValidationKey and DecryptionKey.
  4. Use the stolen keys to generate forged __VIEWSTATE payloads that SharePoint treats as trusted.
  5. Inject malicious logic repeatedly using the valid signature mechanism without raising alarms.

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 product for sharing documents and building internal websites. A deserialization flaw means the server turns untrusted data into live objects without checking it, so an attacker can send a crafted request that makes the server run their code. The attackers then steal secret signing keys so they can keep sending fake but trusted requests even after the hole is patched.

What is RCE?

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

More by RealSec.io

View all

4 more disclosed reports, best first.

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.