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


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (70th percentile)

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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DRUPALCORE-451663
  • published18 Jul 2019
  • disclosed18 Jul 2019
  • creditUnknown

Introduced: 18 Jul 2019

CVE-2019-6342  (opens in a new tab)
CWE-284  (opens in a new tab)

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.

CVSS Scores

version 3.1