GitHub Advisoryadvisory · Packagist

GHSA-p8g6-5mg7-9r5q Drupal REST API can bypass comment approval

HIGH Published 2022-05-13 Modified 2024-04-23 Official page ↗
Aliases
CVE-2017-6924
Ecosystem
Packagist
Packages
drupal/core, drupal/drupal
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-269
Reviewed
2024-04-23

Affected packages

• Packagist drupal/core: >= 8.0, < 8.3.7 → fixed in 8.3.7 • Packagist drupal/drupal: >= 8.0, < 8.3.7 → 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.

Related

Alias · CVE (1)

  • CVE-2017-6924 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… vulnerability

Weakness · CWE (1)

  • CWE-269 Improper Privilege Management weakness

References