Improper Access Control Affecting drupal/core package, versions >=8.7.4, <8.7.5
Snyk CVSS
Threat Intelligence
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
Introduced: 18 Jul 2019
CVE-2019-6342 Open this link in a new tabHow 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.