8.1high

CVE-2016-3169

Drupal saving user accounts can sometimes grant the user all roles

Also known as GHSA-q3p9-8728-wq7x

Published 10 y ago · modified 4 mo ago · JSON

CVSS
8.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.2%
percentile 83%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.22% probability of exploitation in the next 30 days, higher than 83% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
packagistdrupal/core
>=6.0, <6.38
>=7.0, <7.43
6.38
7.43
packagistdrupal/drupal
>=7.0, <7.43
>=6.0, <6.38
7.43
6.38

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls
  • CWE-269 Improper Privilege Management

References

  • openwall.com /lists/oss-security/2016/02/24/19 · mailing-list, x_refsource_MLIST, x_transferred
  • openwall.com /lists/oss-security/2016/03/15/10 · mailing-list, x_refsource_MLIST, x_transferred
  • debian.org /security/2016/dsa-3498 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • drupal.org /SA-CORE-2016-001 · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-3169 · advisory
  • github.com /FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-3169.yaml · web
  • github.com /FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-3169.yaml · web
  • github.com /drupal/core · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.