What’s Vulnerable › Vulnerabilities
CVE-2017-6924: REST API can bypass comment approval - Access Bypass - Moderately Critical
- Severity: high (CVSS 7.4 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-01-15 · updated 2026-06-17
- Weakness: CWE-269
Description
In Drupal 8 prior to 8.3.7; When using the REST API, users without the correct permission can post comments via REST that are approved even if the user does not have permission to post approved comments. This issue only affects sites that have the RESTful Web Services (rest) module enabled, the comment entity REST resource enabled, and where an attacker can access a user account on the site with permissions to post comments, or where anonymous users can post comments.
Affected products
- Drupal: from 8.0.0 before 8.3.7 — fixed in 8.3.7
How to fix
Upgrade to a fixed version: Drupal 8.3.7. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/100368
- http://www.securitytracker.com/id/1039200
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple
- http://www.securityfocus.com/bid/100368
- http://www.securitytracker.com/id/1039200
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple
Get alerted when CVE-2017-6924 or the next vulnerability affects your stack