Drupal saving user accounts can sometimes grant the user all roles
High severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Apr 23, 2024
Description
Published by the National Vulnerability Database
Apr 12, 2016
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Apr 23, 2024
Last updated
Apr 23, 2024
The User module in Drupal 6.x before 6.38 and 7.x before 7.43 allows remote attackers to gain privileges by leveraging contributed or custom code that calls the user_save function with an explicit category and loads all roles into the array.
References