Improper Access Control Affecting drupal/core package, versions >=8.7.4, <8.7.5


0.0
critical

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.31% (70th percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-DRUPALCORE-451663
  • published 18 Jul 2019
  • disclosed 18 Jul 2019
  • credit Unknown

How to fix?

Upgrade drupal/core to version 8.7.5 or higher.

Overview

drupal/core is an an open source content management platform powering millions of websites and applications.

Affected versions of this package are vulnerable to Improper Access Control. The Workspaces module has to be enabled to be able to attempt to bypass access control.

In modules/workspaces/src/EntityAccess.php, roles are incorrectly assigned as a the $access_bypass entity has full read, write permissions on the workspace/node as it's assigned as an owner of the workspace.

In the fix, the $access_bypass entity's role was changed, so the permissions were changed to stop the entity from being a workplace owner, so it no longer has write/create permissions on the workplace/node.