P3 · Modérée · Drupal
Drupal : vulnérabilité — corrigée en 3.0.2
Domain - Moderately critical - Access bypass - SA-CONTRIB-2026-238
Cycle de mise à jour mensuel
Pourquoi ce niveau : Gravité modérée (5,5 sur 10).
Ce qu'il faut faire
-
Vérifier si vous êtes concerné
Versions ou systèmes touchés :
>3.0.0 <3.0.2
drush status --field=drupal-version composer show drupal/core -
Corriger
Versions corrigées : 3.0.2.
Mettre à jour le cœur ou le module concerné avec Composer, appliquer les mises à jour de base, vider les caches, sur chaque site.
composer update "drupal/core-*" --with-all-dependencies composer update drupal/<module> --with-all-dependencies drush updatedb -y && drush cache:rebuild -
En attendant le correctif
Désactiver le module concerné (
drush pm:uninstall <module>) si le correctif ne peut pas passer tout de suite, ou retirer la permission vulnérable aux rôles non administrateurs. -
Contrôler
drush status --field=drupal-versionetcomposer show drupal/<module>doivent afficher la version corrigée.Rapport de statut Drupal (
/admin/reports/status) sans alerte de sécurité.
Commandes indicatives (Debian ou Ubuntu) : à adapter à chaque serveur, après sauvegarde.
Description
This module enables you to share users, content and configuration across a group of domains from a single Drupal installation. Its Domain Access submodule controls which domains a user may edit content on, and has an optional setting to grant user access per content type. The module doesn't sufficiently check which domains a user is assigned to when the per-content-type grant setting is enabled. This vulnerability is mitigated by the fact that the per-content-type grants setting must be enabled (it is off by default), and an attacker must have a role with the permission "Edit any content on assigned domains" or "Delete any content on assigned domains" together with a per-content-type permission such as "Article: Edit any content on assigned domains", and must be assigned to at least one domain. Solution : Install the latest version: - If you use the Domain 3.0.x, upgrade to Domain 3.0.2 The 2.0.x branch of the module is not affected by this vulnerability.