Skip to content
RCE Write-up Advanced

MITRE ATT&CK T1190 ve ToolShell (CVE‑2025‑53770): Gerçek Bir

A critical deserialisation flaw in Microsoft SharePoint allowed unauthenticated attackers to send a crafted HTTP request, upload an ASPX web shell, steal MachineKey and ValidationKey, and then sign __VIEWSTATE data to achieve remote code execution. Attackers used this to deploy Warlock ransomware.

Serhat Çallı Follow

Published on medium.com

2025 yılının Temmuz ayında, Microsoft SharePoint sunucularını hedef alan kritik bir zafiyet, dünya genelinde şirketleri alarma geçirdi. CVE‑2025‑53770, diğer adıyla ToolShell, saldırganlara hiçbir kimlik doğrulaması olmadan (unauthenticated) hedef sunucuda uzaktan komut çalıştırma (RCE) imkânı sundu ve buda korkunç…

Serhat Çallı, 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 a deserialisation flaw in ASP.NET handling of __VIEWSTATE combined with missing authentication on a SharePoint endpoint, allowing an attacker to sign state with stolen keys.

What the attacker needed

Internet-facing SharePoint server; unpatched SharePoint 2016, 2019 or Subscription Edition; no authentication required

The fix

Apply the available security patches for SharePoint and rotate MachineKey and ValidationKey if compromise is suspected.

How it was found

  1. Scan for internet-facing, unpatched SharePoint servers.
  2. Send a crafted HTTP request to a SharePoint layout endpoint without authentication.
  3. Upload an ASPX web shell to the server.
  4. Use the web shell to steal MachineKey and ValidationKey.
  5. Sign __VIEWSTATE data with the stolen keys to run commands remotely.
  6. Deploy Warlock ransomware via PowerShell.

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 team sites. A deserialisation bug means the server trusts data sent by a user and turns it back into objects without checking it is safe. Here an attacker could send a special request without logging in, place a small malicious file on the server, and then run commands of their choice.

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.