HIGH8.1
GHSA-q3p9-8728-wq7x
Drupal saving user accounts can sometimes grant the user all roles
Quick fix
GHSA-q3p9-8728-wq7x — drupal/core: upgrade to the fixed version with the command below.
composer require drupal/core:^6.38Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-3169[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-3169.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-3169.yaml[WEB]
- https://github.com/drupal/core[PACKAGE]
- https://www.drupal.org/SA-CORE-2016-001[WEB]
- http://www.debian.org/security/2016/dsa-3498[WEB]
- http://www.openwall.com/lists/oss-security/2016/02/24/19[WEB]
- http://www.openwall.com/lists/oss-security/2016/03/15/10[WEB]