An unauthenticated ViewState deserialization in on-premises SharePoint Server allows remote code execution as the IIS worker. Mass exploitation began before the out-of-band patch.
Microsoft published an out-of-band patch for CVE-2025-53770 on 20 July 2025 after Eye Security observed active exploitation against on-premises SharePoint Server. The chain, nicknamed ToolShell, combines a spoofing flaw (CVE-2025-49706) with a ViewState deserialization bug (CVE-2025-53770) to reach unauthenticated remote code execution as the IIS application pool identity. Multiple ransomware and espionage groups adopted it within 48 hours of disclosure.
The ToolPane.aspx endpoint accepts a __VIEWSTATE parameter that is deserialized without validation when the request originates from a spoofed internal source. An attacker forges the Referer header to bypass the source check, then supplies a ObjectDataProvider gadget in the ViewState blob to execute an arbitrary shell command.
Minimal request shape. The spoofed Referer bypasses the origin check that was supposed to gate ToolPane.
The gadget executes as IIS APPPOOL\SharePoint and typical post-exploitation drops a spinstall0.aspx webshell in the SharePoint layouts directory. Eye Security also observed the attackers steal the ASP.NET MachineKey to sign their own ViewState payloads persistently, which survives the initial patch if you do not also rotate the key.
The Internet-facing SharePoint farm is the primary target. Internal farms are exposed if an attacker has any foothold that can reach the SharePoint URL.
Look for the known webshell in the layouts directory on every SharePoint server in the farm:
The spinstall0.aspx file is the confirmed post-exploitation artefact tracked by Microsoft.
Search IIS logs for the exploitation signature — POST requests to ToolPane.aspx with a SignOut.aspx referer:
Filter IIS logs for this combination; legitimate ToolPane usage does not carry the SignOut referer.
Check whether your MachineKey has been rotated since 20 July 2025. If it has not been rotated after applying the patch, treat it as compromised.
Generate the new key, deploy it to the farm, then restart IIS on every SharePoint server. Rotate twice — once before and once after patching — to invalidate any stolen key material.
_layouts/15/ToolPane.aspx at the reverse proxy or WAF to authenticated administrative source ranges until every farm server is patched:Blocking ToolPane at the proxy is a safe workaround; legitimate use is administrative.
http/cves/2025/CVE-2025-53770.yamlNuclei detection run against a candidate SharePoint URL.
spinstall0.aspx webshell is the standard post-exploitation IoC to hunt for.Primary references.
Object-level access control failures accounted for the largest share of high-severity findings this year. Patterns and fixes.
ReadHow to define the CDE boundary, what segmentation testing must show, and the evidence your QSA will ask for.
ReadA stack overflow in the SNMP subsystem of Cisco IOS and IOS XE lets an attacker with SNMP access cause a device reload, and with additional administrative credentials, execute code as root. Actively exploited before the patch.
ReadA missing authorization check on the SAP NetWeaver Visual Composer Metadata Uploader allows unauthenticated file upload leading to remote code execution as the SAP administrator.
Read