DEV Community

johnettwawers
johnettwawers

Posted on

Drupal's Installer Can Remain an Administrative Back Door After Setup

Drupal's Installer Can Remain an Administrative Back Door After Setup

A completed Drupal installation is not always a closed installation process. CVE-2026-132165 shows why the installer file can remain an administrative attack surface after setup.

What changed

Drupal published SA-CORE-2026-017 on 2026-11-18 and rated CVE-2026-132165 highly critical at 20/25. The advisory covers Drupal versions below 10.6.22, 11.0.0 through 11.3.21, and 11.4.0 through 11.4.12. The fixed releases are 10.6.22, 11.3.22, and 11.4.13. Drupal later reported evidence that the issue was exploited on live sites as early as 2026-11-19 19:00 UTC.

The mechanism

Drupal core includes install.php for initial setup. Under specific conditions, an attacker can invoke the installer to attempt an installation again. That replay of installation authority can lead to site takeover or remote code execution. Some exploit paths are blocked when the web server cannot write to or change permissions on settings.php, but Drupal does not present that restriction as complete protection. The advisory also recommends securing the installer after installation.

Why the cleanup step matters

Patch teams often verify a version number and stop there. Drupal adds a second check: whether an administrative setup endpoint is reachable. A site can be on a fixed release and still benefit from denying public access to core/install.php after the install is complete. This is also a useful lesson for migration reviews. Database restores, container images, and cloned environments can preserve setup paths that operations believed were temporary.

Remediation and verification

Upgrade to Drupal 10.6.22, 11.3.22, 11.4.13, or a later supported release. If immediate upgrading is impossible, follow Drupal's current instructions for securing the installer. Then confirm that the web server cannot modify settings.php, document the exception, and test that the installer URL is denied from the public network. Review administrator changes, recent module installation activity, file changes, and logs around /core/install.php. A recovered site should rotate administrative credentials and review scheduled tasks, users, and configuration after suspected exploitation.

Operational lesson

An installer is a deployment tool with authority to replace configuration and create privileged state. Treat it like an administrative interface after go-live. Inventory it, restrict it, and verify closure as part of release and restore testing.

References

Top comments (0)