Skip to content
RCE Write-up Advanced

**SOC342 — CVE‑2025‑53770 SharePoint ToolShell Auth Bypass and RCE**

An unauthenticated POST request to SharePoint's ToolPane.aspx endpoint exploited CVE-2025-53770 to bypass authentication and execute arbitrary code. The attacker then ran PowerShell commands to extract MachineKey secrets and wrote a malicious ASPX web shell into the layouts directory for persistence.

Wrench Follow

Published on wr7nch.medium.com

A critical web attack alert was triggered on SharePoint01 due to a suspicious unauthenticated POST request targeting the SharePoint endpoint ToolPane.aspx. This endpoint is known to be vulnerable to CVE-2025-53770 (ToolShell), a zero-day vulnerability that allows attackers to bypass authentication and execute…

Wrench, on wr7nch.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 an authentication bypass in the ToolPane.aspx endpoint that allows unauthenticated requests to reach privileged server-side functionality.

Impact

The attacker could bypass authentication, execute arbitrary code, deploy a web shell, and extract cryptographic keys, resulting in confirmed server compromise.

What the attacker needed

Internet-facing SharePoint server; no authentication required

How it was found

  1. Send an unauthenticated POST request to the ToolPane.aspx endpoint with a spoofed referer.
  2. Execute a Base64-encoded PowerShell command to extract MachineKey configuration.
  3. Compile attacker-supplied C# source code into an executable on the server.
  4. Write a malicious ASPX file into the SharePoint layouts directory.
  5. Run a PowerShell command to retrieve the active MachineKey configuration.

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 document management. A vulnerability in one of its pages let an attacker send a request without logging in and run commands on the server. The attacker then stole secret keys and planted a file that let them return later.

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 Wrench

View all

1 more disclosed report, 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.