Vulnerability advisory
GHSA-q3p9-8728-wq7x
Drupal saving user accounts can sometimes grant the user all roles
Also known as CVE-2016-3169
Severity
- CVSS 3.x
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
drupal/core Packagist
All drupal/core advisories →| Affected | Fixed in |
|---|---|
6.0 to before 6.38 | 6.38Advisories → |
7.0 to before 7.43 | 7.43Advisories → |
| Affected | Fixed in |
|---|---|
7.0 to before 7.43 | 7.43Advisories → |
6.0 to before 6.38 | 6.38Advisories → |
Description
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-3169 ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-3169.yaml ↗
- Webgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-3169.yaml ↗
- Packagegithub.com/drupal/core ↗
- Webwww.drupal.org/SA-CORE-2016-001 ↗
- Webwww.debian.org/security/2016/dsa-3498 ↗
- Webwww.openwall.com/lists/oss-security/2016/02/24/19 ↗
- Webwww.openwall.com/lists/oss-security/2016/03/15/10 ↗