ADVISORIES

GitHub Advisory Database

GHSA-q3p9-8728-wq7x

Drupal saving user accounts can sometimes grant the user all roles

Details

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.

Affected packages

EcosystemPackageAffected versions
Packagistdrupal/core
From 6.0 before 6.38 (fixed in 6.38)
Packagistdrupal/core
From 7.0 before 7.43 (fixed in 7.43)
Packagistdrupal/drupal
From 7.0 before 7.43 (fixed in 7.43)
Packagistdrupal/drupal
From 6.0 before 6.38 (fixed in 6.38)

References