MEDIUM4.3
GHSA-6g9h-6v79-w4pc
Drupal Users without "Administer comments" can set comment visibility on nodes they can edit
Quick fix
GHSA-6g9h-6v79-w4pc — drupal/drupal: upgrade to the fixed version with the command below.
composer require drupal/drupal:^8.1.10Details
Drupal 8.x before 8.1.10 does not properly check for "Administer comments" permission, which allows remote authenticated users to set the visibility of comments for arbitrary nodes by leveraging rights to edit those nodes.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/drupal/drupal
Introduced in:
8.0.0Fixed in: 8.1.10Fix
composer require drupal/drupal:^8.1.10References
- https://nvd.nist.gov/vuln/detail/CVE-2016-7570[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2016-7570.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2016-7570.yaml[WEB]
- https://github.com/drupal/core[PACKAGE]
- https://www.drupal.org/SA-CORE-2016-004[WEB]
- http://www.securityfocus.com/bid/93101[WEB]
- http://www.securitytracker.com/id/1036886[WEB]