Drupal Core CVE-2026-132165 — installer re-entry site takeover and RCE

Threat Overview

Drupal published SA-CORE-2026-017 on November 18, 2026. Under specific conditions an unauthenticated attacker can reach install.php on an installed Drupal site and attempt reinstallation, potentially taking over the site or executing code. The advisory identifies a complex attack and proof-of-concept maturity; it does not establish exploitation in the wild. A non-writable settings.php can mitigate some paths but is not a substitute for updating.

References

Impacted Systems

Drupal Core self-managed/on-prem or hosted PHP web applications. Affected: versions below 10.6.22 on the supported 10.6 branch; 11.0.0–11.3.21; 11.4.0–11.4.12. Fixed: 10.6.22, 11.3.22, 11.4.13. Older 10.x, Drupal 8/9 and 11.2 and earlier are unsupported. Exposure requires an accessible installer and vulnerable site configuration; no particular OS or port beyond the web service is required. Drupal Steward mitigates some, not all, attack paths.

Why this matters

Installer re-entry threatens integrity of externally accessible content management sites and may enable server-side code execution.

Exploitation Status

Drupal published its vendor advisory November 18 with proof-of-concept exploit maturity; no confirmed in-the-wild malicious exploitation was identified.

What this hunt looks for

Potentially high consequence in affected exposed deployments. Customer impact cannot be determined without verified product inventory and executed telemetry review.

Required logs

Public vendor advisories and security research were reviewed; no customer Microsoft Sentinel telemetry was queried. Proposed hunts require the indicated ingested data classes: normalized web sessions, Azure WAF diagnostics, Defender endpoint telemetry and/or Syslog.

D01 — Installer access attempts

_Im_WebSession | where TimeGenerated >= ago(30d) | where Url has "install.php" | summarize Requests=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Methods=make_set(HttpMethod,5) by SrcIpAddr, DstHostname, Url | order by Requests desc

D02 — WAF installer requests

AzureDiagnostics | where TimeGenerated >= ago(30d) | where Category has "Firewall" | where requestUri_s has "install.php" | summarize Requests=count(), Actions=make_set(action_s,10) by clientIP_s, requestUri_s

D03 — PHP process shell spawning

DeviceProcessEvents | where TimeGenerated >= ago(30d) | where InitiatingProcessFileName in~ ("php","php-fpm","php-cgi","httpd","apache2","nginx") | where FileName in~ ("sh","bash","dash","curl","wget","python","python3","nc") | project TimeGenerated, DeviceName, FileName, ProcessCommandLine, InitiatingProcessCommandLine

D04 — Drupal settings file modification

DeviceFileEvents | where TimeGenerated >= ago(30d) | where FolderPath has "settings.php" | project TimeGenerated, DeviceName, ActionType, FolderPath, InitiatingProcessFileName, InitiatingProcessCommandLine

D05 — PHP file creation in web roots

DeviceFileEvents | where TimeGenerated >= ago(30d) | where FolderPath has_any ("/sites/default/files/","/var/www/","\inetpub\wwwroot\") | where FileName endswith ".php" | project TimeGenerated, DeviceName, ActionType, FolderPath, InitiatingProcessFileName

D06 — Web server unusual outbound connections

DeviceNetworkEvents | where TimeGenerated >= ago(30d) | where InitiatingProcessFileName in~ ("php","php-fpm","php-cgi","apache2","httpd","nginx") | where RemoteIPType == "Public" | summarize Connections=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by DeviceName, RemoteIP, RemoteUrl, InitiatingProcessFileName

D07 — Linux web service syslog fallback

Syslog | where TimeGenerated >= ago(30d) | where SyslogMessage has_any ("install.php","settings.php","permission denied") | project TimeGenerated, Computer, ProcessName, SyslogMessage | order by TimeGenerated desc

Detection Notes

First-pass HTTP endpoint searches are the highest-confidence exploit-surface leads where web logs contain full URL paths. Process creation by web/AI services, new outbound connections and suspicious file writes are follow-up behaviors, not proof of this CVE. Normalized _Im_WebSession is available only when ASIM web session normalization is deployed; AzureDiagnostics fields require legacy WAF diagnostic mode and may differ with resource-specific tables. Defender queries require actual endpoint onboarding and sufficient retention. Review process command lines and deployment context before escalation; missing logs make the corresponding hunt inapplicable. Queries are prepared, not runtime-validated.

Leave a Reply