{"id":"GHSA-q3p9-8728-wq7x","aliases":["CVE-2016-3169"],"title":"Drupal saving user accounts can sometimes grant the user all roles","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.","severity":"high","score":8.1,"published":"2022-05-17T03:57:19.000Z","modified":"2024-04-23T17:43:52.508Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"drupal/core","ranges":[{"events":[{"introduced":"6.0"},{"fixed":"6.38"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["6.38"]},{"ecosystem":"Packagist","name":"drupal/core","ranges":[{"events":[{"introduced":"7.0"},{"fixed":"7.43"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["7.43"]},{"ecosystem":"Packagist","name":"drupal/drupal","ranges":[{"events":[{"introduced":"7.0"},{"fixed":"7.43"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["7.43"]},{"ecosystem":"Packagist","name":"drupal/drupal","ranges":[{"events":[{"introduced":"6.0"},{"fixed":"6.38"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["6.38"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2016-3169","https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-3169.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-3169.yaml","https://github.com/drupal/core","https://www.drupal.org/SA-CORE-2016-001","http://www.debian.org/security/2016/dsa-3498","http://www.openwall.com/lists/oss-security/2016/02/24/19","http://www.openwall.com/lists/oss-security/2016/03/15/10"],"sources":[{"name":"OSV","id":"GHSA-q3p9-8728-wq7x","modified":"2024-04-23T17:43:52.508633Z","url":"https://osv.dev/vulnerability/GHSA-q3p9-8728-wq7x"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1}]}