CVEfocus › CVE database › CVE-2017-6924

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

CVSS 7.4 HighEPSS 2.1% (higher than 82% of CVEs)Published 2019-01-15Updated 2024-09-16Assigner: drupal

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

Fixed builds are available from Packagist: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Packagist librarydrupal/coreFixed8.3.7GHSA-p8g6-5mg7-9r5q
Packagist librarydrupal/drupalFixed8.3.7GHSA-p8g6-5mg7-9r5q

What the vendor says

As published in the CVE record by drupal, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.