Drupal core patches deserialization, install.php flaws
Drupal core fixed an unsafe deserialization gadget chain and an install.php flaw that could enable RCE or site takeover.
Sourceadvisories.ncsc.nl — open the original
What to check
- Applies to
- The 2 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation
- No exploitation in the wild and no public exploit is recorded for the CVEs named.
NCSC-NL published an advisory covering two vulnerabilities patched in Drupal core. The first is an insecure deserialization gadget chain; it is not directly exploitable on its own but, when combined with another flaw allowing deserialization of untrusted input, can lead to remote code execution. The second issue affects the install.php script, which under certain conditions can be abused to re-trigger site installation if the installer was not properly secured or removed after initial setup, potentially allowing an attacker to bypass authentication and configuration controls and execute arbitrary code or take over the site.
Drupal has released updates addressing both issues. No specific CVE identifiers, affected version ranges, or evidence of active exploitation were included in the advisory text. Defenders running Drupal should apply the vendor's updates and verify that install.php and related installer scripts are removed or properly access-restricted post-deployment, and should review code for unsafe deserialization usage in custom or contributed modules.
Mentioned in this report
Detection guidance
Web Request to Drupal install.php Returning Success on a Deployed Site
A behavioural hunt for the technique in general, not a signature for the CVEs this report names.
Detects successful HTTP requests to Drupal install.php (core/install.php or legacy /install.php), which can re-trigger site installation if the installer was left accessible. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.
title: Web Request to Drupal install.php Returning Success on a Deployed Site
description: Detects HTTP 200 responses for Drupal installer script requests. On an
already installed site the installer should be removed or blocked, so a successful
response suggests re-installation abuse or an exposed installer. Outside of initial
deployment this should not occur.
tags:
- attack.initial-access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri-stem|endswith:
- /core/install.php
- /install.php
sc-status: 200
selection_params:
cs-uri-query|contains:
- op=start
- profile=
- rewrite=ok
condition: selection and selection_params
falsepositives:
- Legitimate first-time installation of a new Drupal site before the installer is
removed
- Authorised staging or CI rebuilds that run the Drupal installer over HTTP
level: medium
id: 1ab6420e-14cc-541e-b91b-7e00e2b0f4e8
status: experimental
author: Vorant
references:
- https://advisories.ncsc.nl/2026/ncsc-2026-0507.html
Linux Web Server Process Spawning Shell With Reconnaissance or Download Commands
A behavioural hunt for the technique in general, not a signature for the CVEs this report names.
Detects PHP/web server processes (as would host Drupal) spawning a shell that runs recon or payload-download commands, typical of post-exploitation after deserialization or installer RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.
title: Linux Web Server Process Spawning Shell With Reconnaissance or Download Commands
description: Detects a web server or PHP handler spawning sh/bash with a command line
containing typical post-exploitation commands such as whoami, id, uname, reading
/etc/passwd, or curl/wget piped to a shell. Relevant to RCE following PHP object
deserialization or Drupal installer abuse.
tags:
- attack.execution
- attack.t1059.004
- attack.initial-access
- attack.t1190
logsource:
category: process_creation
product: linux
detection:
selection_parent:
ParentImage|endswith:
- /php-fpm
- /php-fpm7
- /php-fpm8
- /php-cgi
- /apache2
- /httpd
- /nginx
selection_child:
Image|endswith:
- /sh
- /bash
- /dash
selection_cmd:
CommandLine|contains:
- whoami
- uname -a
- /etc/passwd
- 'curl '
- 'wget '
- /dev/tcp/
- base64 -d
condition: selection_parent and selection_child and selection_cmd
falsepositives:
- Admin web panels or deployment hooks that shell out to curl or wget from PHP
- Monitoring scripts invoked by the web server user that run uname or whoami
level: medium
id: 6b31bfa7-03eb-5127-a16d-65807442df99
status: experimental
author: Vorant
references:
- https://advisories.ncsc.nl/2026/ncsc-2026-0507.html
Behavioural rules are generated from public reporting — validate in your environment before deploying.
Source reporting: https://advisories.ncsc.nl/2026/ncsc-2026-0507.html
Free public brief. The Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and KQL where they apply) are in the app with a free account, no card. Slack alerts on the vendors you run come with the paid plans, and a new account gets five days of them.
What this brief leaves out
This page is the free tier: the write-up, the severity, the names. In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries.
It sits in a corpus of 17,321 reports from 146 sources, 698 of them written in the last seven days, and it grows through the day.
A new account starts with five days of all of it, no card, then keeps the last 30 days of reporting free, the research and news included. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.
Create a free account What it costs