- Advisory ID: DRUPAL-SA-CONTRIB-2014-028
- Project: Masquerade (third-party module)
- Version: 6.x, 7.x
- Date: 2014-March-05
- Security risk: Highly critical
- Exploitable from: Remote
- Vulnerability: Access bypass
Description
This module allows a user with the right permissions to switch users.
When a user has been limited to only masquerading as certain users via the "Enter the users this user is able to masquerade as" user profile field, they can still masquerade as any user on the site by using the "Enter the username to masquerade as." autocomplete field in the masquerade block.
This vulnerability is mitigated by the fact that an attacker must have access to masquerade as another user.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Masquerade 6.x-2.x versions prior to 6.x-1.8.
- Masquerade 7.x-2.x versions prior to 7.x-1.0-rc6.
Drupal core is not affected. If you do not use the contributed Masquerade module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Masquerade module for Drupal 6.x, upgrade to Masquerade 6.x-1.8
- If you use the Masquerade module for Drupal 7.x, upgrade to Masquerade 7.x-1.0-rc6
Also see the Masquerade project page.
Reported by
Fixed by
- Laurence Liss, provisional member of the Drupal Security Team
- Mark Shropshire, one of the Masquerade module maintainers
Coordinated by
- Laurence Liss, provisional member 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 http://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