Drupal 7 Moderately Critical Privilege Escalation Vulnerability in Role Delegation

The Drupal Security team announced on March 23rd, 2022 the moderately critical Privilege escalation vulnerability in the Role Delegation project according to the Security advisory SA-CONTRIB-2022-031. The vulnerability is classified moderately critical based on the 14∕25 AC:Basic/A:User/CI:Some/II:Some/E:Proof/TD:Default status.  

The Role Delegation module allows site administrators to grant specific roles the authority to assign selected roles to users, without them needing the administer permissions permission, For each role, Role Delegation provides a new assign ROLE role permission to allow the assignment of that role. The module also allows an assign all roles permission without having to check all the assign ROLE role permissions on the permissions page.

50, 527 sites report using the Role Delegation module.

The privilege escalation vulnerability is because the module contains an access bypass vulnerability when used in combination with the Views Bulk Operations module. An authenticated user is able to assign the administrator role to his own user.

This vulnerability is mitigated by the fact that an attacker must have access to an overview of users with the views bulk operations module enabled. E.g. The admin_views module provides such a view.

The vulnerability was reported and fixed by Michael Forbes, Jeroen Tubex, and Stein Setvik, coordinated by Greg Knaddison of the Drupal Security Team.

Solution: 
The recommendation if you use the Role Delegation module for Drupal 7.x is to upgrade to Role Delegation 7.x.-1.3.

Source: https://www.drupal.org/sa-contrib-2022-031

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please let us know in the comments below and we will try to address the issue as best we can.

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here

Call for Support