Drupal core
This is the main software that runs the website and manages all its content.
A visitor without an account could use the installation file to take full control of the website. They could read every piece of private information and alter the underlying code. There is no limit to what they could view or change.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youThis applies if the installation file is left accessible and the website is in an unusual or incomplete setup state.
- Has it been used in attacksYes. It has been used in real attacks.
- How urgentDrupal rates this highly critical. Cyber Essentials expects a fix within 14 days. Do it this week.
Tell your developerUpdate Drupal core to 11.4.14, 10.6.23 or 11.3.23, whichever branch you are on.
For developers: what the fix changed
The fix prevents access to the installer by throwing an `AlreadyInstalledException` in `install_begin_request()` within `core/includes/install.core.inc` if the install session token is missing. It also adds a post-update hook in `core/modules/system/system.post_update.php` to mark incomplete installations as finished.
Also in this release The release also updates Twig and Composer, and fixes an issue with runtime theme registries not being released after destruction.
composer.lock+99 −68composer/Metapackage/CoreRecommended/composer.json+1 −1composer/Metapackage/PinnedDevDependencies/composer.json+4 −4core/.deprecation-ignore.txt+1 −0core/includes/install.core.inc+3 −0 fixcore/lib/Drupal.php+1 −1core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php+2 −7core/lib/Drupal/Core/Theme/Registry.php+4 −1core/modules/system/system.post_update.php+13 −0 fix