- Advisory ID: DRUPAL-SA-CONTRIB-2014-118
- Project: Administer Users by Role (third-party module)
- Version: 6.x
- Date: 2014-December-10
- Security risk: 11/25 ( Moderately Critical) AC:Complex/A:Admin/CI:None/II:All/E:Proof/TD:Default
- Vulnerability: Access bypass
Description
This module enables site builders to set up fine-grained permissions for allowing users to edit and delete other users.
The module doesn’t sufficiently validate access permissions, enabling users who supposedly have limited permissions to grant themselves more permissions.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission “administer users”. While this is usually a permission only granted to trusted users the Administer Users by Role module intends to limit the permission so that users cannot elevate their own permissions, but it fails to do so in certain scenarios.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- administerusersbyrole 6.x – all versions
Drupal core is not affected. If you do not use the contributed Administer Users by Role module,
there is nothing you need to do.
Solution
- If you use the administerusersbyrole module for Drupal 6.x, disable and uninstall the module
Also see the Administer Users by Role project page.
Reported by
Fixed by
not applicable.
Coordinated by
- Klaus Purer of the Drupal Security Team
Contact and More Information
The Drupal security team can be reached at security at drupal.org or via the contact form at https://www.drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity