CVE-2017-6924 REST API can bypass comment approval - Access Bypass - Moderately Critical
Attackers can post approved comments via REST API without proper permissions if the REST module is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-6924?
CVE-2017-6924 is a high-severity missing authorization vulnerability in Drupal Drupal, published on 15 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-269
Which versions are affected by CVE-2017-6924?
4 open source packages ship an affected version, including drupal/core and drupal/drupal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/core Packagist | From 8.0 | 8.3.7 |
drupal/core Packagist | From 8.0 | 8.3.7 |
drupal/drupal Packagist | From 8.0 | 8.3.7 |
drupal/drupal Packagist | From 8.0 | 8.3.7 |
Products include Drupal Drupal.
How do I fix CVE-2017-6924?
Upgrade drupal/core to 8.3.7 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2017-6924 being exploited?
There is no known exploitation of CVE-2017-6924 in the wild and no public exploit code.
Other vulnerabilities in Drupal Drupal
Sources
Also known as GHSA-p8g6-5mg7-9r5q.