Skip to content
OpenAdvisories
High · 8.1 CVE-2016-3169 EUVD-2022-4869GHSA-q3p9-8728-wq7x

Drupal saving user accounts can sometimes grant the user all roles

Published Apr 12, 2016 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 drupal7 7.32-1+deb8u6 DSA-3498-1
Debian 7 drupal7 7.14-2+deb7u12 DSA-3498-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS drupal7 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 6.0, < 6.38 6.38 GHSA-q3p9-8728-wq7x
Packagist drupal/core >= 7.0, < 7.43 7.43 GHSA-q3p9-8728-wq7x
Packagist drupal/drupal >= 7.0, < 7.43 7.43 GHSA-q3p9-8728-wq7x
Packagist drupal/drupal >= 6.0, < 6.38 6.38 GHSA-q3p9-8728-wq7x

Advisories 1

References