Actively Exploited SharePoint Zero-Days Enable Authentication Bypass and Remote Code Execution

· Original article ↗

Summary

CVE-2025-53770 and CVE-2025-53771 affect on-premises SharePoint servers and are actively exploited via the ToolShell chain. Microsoft issued patches; the article outlines affected versions, exploitation, and mitigation steps.

Key points

  • CVE-2025-53771 enables authentication bypass through a forged Referer header; CVE-2025-53770 enables remote code execution through unsafe deserialization.
  • The flaws affect on-premises SharePoint Server, including self-managed cloud instances, but not SharePoint Online.
  • Affected versions include SharePoint Subscription Edition, 2019, and 2016; unsupported 2010 and 2013 versions are also noted as affected.
  • Microsoft released emergency patches for Subscription Edition and SharePoint Server 2019; the article advises monitoring for a 2016 patch.
  • The described attack chain can install an ASPX web shell, extract machine keys, and use forged ViewState payloads to execute code.
  • Recommended actions include applying updates, enabling AMSI, rotating machine keys, isolating exposed servers, and investigating for compromise.
  • Wiz reports that 9% of cloud environments it assessed had resources running vulnerable self-managed SharePoint versions.

Article Details

Vulnerability Types
  • Remote code execution via unsafe deserialization of untrusted data
  • Authentication bypass via forged Referer header spoofing
Severity
CVE-2025-53770: CVSS 9.8 (critical); CVE-2025-53771: CVSS 6.3
Affected Versions
  • SharePoint Server Subscription Edition earlier than KB5002768
  • SharePoint Server 2019 earlier than 16.0.10417.20027 / KB5002754
  • SharePoint Server 2016
  • SharePoint Server 2010
  • SharePoint Server 2013
Exploitation Status
active
Exploit Availability
public_poc
Patch Status
partial
Workarounds
  • If patches or AMSI cannot be applied, disconnect internet-facing SharePoint servers.
  • Enable AMSI in Full Mode.
  • Rotate ASP.NET Machine Keys after patching or enabling AMSI.

Indicators of compromise

TypeIndicatorContext
IPV4103[.]186[.]30[.]186IP address listed among observed indicators of compromise for the SharePoint exploitation.
IPV4104[.]238[.]159[.]149IP address listed among observed indicators of compromise for the SharePoint exploitation.
IPV4107[.]191[.]58[.]76IP address listed among observed indicators of compromise for the SharePoint exploitation.
IPV496[.]9[.]125[.]147IP address listed among observed indicators of compromise for the SharePoint exploitation.
SHA25692bb4ddb98eeaf11fc15bb32e71d0a63256a0ed826a03ba293ce3a8bf057a514SHA256 hash of the spinstall0.aspx web shell identified in the observed exploitation.

MITRE ATT&CK

CVE

Vendors

Products

Tools

Related Articles