GHSA-q3p9-8728-wq7x

Suggest an improvement
Source
https://github.com/advisories/GHSA-q3p9-8728-wq7x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q3p9-8728-wq7x/GHSA-q3p9-8728-wq7x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q3p9-8728-wq7x
Aliases
Published
2022-05-17T03:57:19Z
Modified
2024-04-23T17:43:35.699633Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2016-04-12T15:59:00Z",
    "cwe_ids": [
        "CWE-269"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-23T17:19:46Z"
}
References

Affected packages

Packagist / drupal/core

Package

Name
drupal/core
Purl
pkg:composer/drupal/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0
Fixed
6.38

Packagist / drupal/core

Package

Name
drupal/core
Purl
pkg:composer/drupal/core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0
Fixed
7.43

Packagist / drupal/drupal

Package

Name
drupal/drupal
Purl
pkg:composer/drupal/drupal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0
Fixed
7.43

Packagist / drupal/drupal

Package

Name
drupal/drupal
Purl
pkg:composer/drupal/drupal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0
Fixed
6.38