[Security-news] Block permissions - Moderately critical - Access bypass - SA-CONTRIB-2024-046
security-news at drupal.org
security-news at drupal.org
Wed Oct 9 16:48:42 UTC 2024
View online: https://www.drupal.org/sa-contrib-2024-046
Project: Block permissions [1]
Date: 2024-October-09
Security risk: *Moderately critical* 13 ∕ 25
AC:Basic/A:Admin/CI:Some/II:Some/E:Theoretical/TD:All [2]
Vulnerability: Access bypass
Affected versions: >=1.0.0 <1.2.0
Description:
This module enables you to manage blocks from specific modules in the
specific themes.
The module doesn't sufficiently check permissions under the scenario when a
block is added using the form
"/admin/structure/block/add/{plugin_id}/{theme}" (route "block.admin_add").
The attacker can add the block to the theme where they can't manage blocks.
This vulnerability is mitigated by the fact that an attacker must have a role
with the permission "administer blocks provided by [provider]".
Solution:
Install the latest version:
* If you use the block_permissions module for Drupal 8.x, upgrade to
block_permissions version at least 8.x-1.2 [3] or the more recent 8.x-1.3
[4]
Reported By:
* Francesco Sardara [5]
Fixed By:
* Francesco Sardara [6]
* Evgenii Nikitin [7]
Coordinated By:
* Greg Knaddison [8] of the Drupal Security Team
* Juraj Nemec [9] of the Drupal Security Team
[1] https://www.drupal.org/project/block_permissions
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/block_permissions/releases/8.x-1.2
[4] https://www.drupal.org/project/block_permissions/releases/8.x-1.3
[5] https://www.drupal.org/user/2353864
[6] https://www.drupal.org/user/2353864
[7] https://www.drupal.org/user/682600
[8] https://www.drupal.org/u/greggles
[9] https://www.drupal.org/u/poker10
More information about the Security-news
mailing list