IPS Signature Sep 25, 2026

GajIPS - IPS Signature Update — GS EXPLOIT: Microsoft SharePoint CVE-2026-65660 SafeControls bypass to in-memory webshell

Severity: HIGH · Priority: P2 — active exploitation of an authenticated-but-low-privilege RCE in SharePoint, escalate on hit

These rules detect exploitation of CVE-2026-65660, a remote code execution vulnerability in on-premises Microsoft SharePoint Server that was initially and incorrectly categorised by Microsoft as a spoofing issue, leading many organisations to defer patching. Security updates fixing the flaw shipped on August 11, 2026. The root cause is a quoting failure in SharePoint's ToolPane component, which processes web-part markup on pages including ToolPane.aspx and AddGallery.aspx. When reconstructing ASP.NET Register directives from submitted markup, SharePoint places attribute values inside double quotes without escaping any double quotes already present in those values. An attacker can therefore break out of the attribute value and inject additional Register directives that name arbitrary .NET classes — classes that are registered and loaded after SharePoint's SafeControls type-check has already passed, bypassing the check entirely. With arbitrary class loading available, the attacker uses a XAML deserialization chain — passing the ObjectDataProvidergadget class through XamlServices.Parse() — to execute code. The researcher who discovered and demonstrated this technique uses it to create an in-memory webshell, avoiding the filesystem writes that most webshell detections look for. The first rule targets the high-confidence ObjectDataProvider gadget class; the second heuristic rule targets the Register directive injection at the vulnerable endpoint paths.

A hit on either rule indicates an active exploitation attempt against one of your SharePoint servers. Confirm whether the targeted server is patched to the August 11, 2026 or later cumulative update; if not, treat the attempt as potentially successful and escalate to incident response. Because the exploit creates an in-memory webshell rather than writing files to disk, standard filesystem-based webshell detection will not catch it — prioritise reviewing IIS request logs and SharePoint ULS logs for unusual requests to _layouts/15/ToolPane.aspx or _layouts/15/AddGallery.aspx, and for outbound connections from the SharePoint server process (w3wp.exe) to unexpected destinations. Treat all credentials stored or accessible through the SharePoint farm as potentially exposed and rotate them if compromise cannot be ruled out. Applying the August 2026 patch is the definitive fix.

See the latest threat intelligence