HighGHSA-q3p9-8728-wq7xCVE-2016-3169
Drupal saving user accounts can sometimes grant the user all roles
Published 17 May 2022 · Updated 23 Apr 2024
Affected packages
drupal/coreComposer
- Affected
- >=6.0 <6.38
- Fixed in
- 6.38
Update to the fixed version for your release line, for example:
composer require drupal/core:^6.38drupal/coreComposer
- Affected
- >=7.0 <7.43
- Fixed in
- 7.43
Update to the fixed version for your release line, for example:
composer require drupal/core:^7.43drupal/drupalComposer
- Affected
- >=7.0 <7.43
- Fixed in
- 7.43
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^7.43drupal/drupalComposer
- Affected
- >=6.0 <6.38
- Fixed in
- 6.38
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^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.
Is GHSA-q3p9-8728-wq7x in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-3169
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-3169.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-3169.yaml
- Packagegithub.com/drupal/core
- Linkwww.drupal.org/SA-CORE-2016-001
- Linkwww.debian.org/security/2016/dsa-3498
- Linkwww.openwall.com/lists/oss-security/2016/02/24/19
- Linkwww.openwall.com/lists/oss-security/2016/03/15/10
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.