Advisory

GHSA-p8g6-5mg7-9r5q

Also known as: CVE-2017-6924

Summary

Drupal REST API can bypass comment approval

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:36 UTC
Modified
2024-04-23 22:59 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0, fixed 8.3.7 (ecosystem)

Fixed versions

8.3.7

Fix

The export has no generic command for this ecosystem.

drupal/drupal

Packagist · All systems

Affected

  • introduced 8.0, fixed 8.3.7 (ecosystem)

Fixed versions

8.3.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences