DRUPAL-CONTRIB-2023-054 - The Group module has the ability to make content private to specific groups. When viewing a…
Severity: info · Published 2023-12-06
The Group module has the ability to make content private to specific groups. When viewing a list of entities, e.g. nodes, a visitor should only see those entities that are either not attached to a group or that they have group access to.
The module doesn't sufficiently enforce list access under the scenario where two users have the same outsider and insider permissions, but are members of different groups without any individual roles being assigned to said memberships. In such a scenario, the permissions hash for both will be the same even though it should differ.
This vulnerability is mitigated by the fact that an attacker must have the same hash as someone else, which is quite rare yet not unthinkable.
Yes. Packagist:Https://Packages.Drupal.Org/8 Drupal/Group: upgrade to 2.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run Packagist:Https://Packages.Drupal.Org/8 Drupal/Group at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
Packagist:Https://Packages.Drupal.Org/8 Drupal/Group: upgrade to 2.2.2 or later