Drupal Comment reply form allows access to restricted content
Impact
In Drupal versions 8.4.x versions before 8.4.5 users with permission to post comments are able to view content and comments they do not have access to, and are also able to add comments to this content. This vulnerability is mitigated by the fact that the comment system must be enabled and the attacker must have permission to post comments.
Source excerpt · OSVThis vulnerability is mitigated by the fact that the comment system must be enabled and the attacker must have permission to post comments.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 8.4.0 before 8.4.5Ecosystem versions | 8.4.5 |
| From 7.0 before 7.57Ecosystem versions | 7.57 |
Version evidence: OSV · GHSA-2p28-5mvp-2j2r
View original version evidence (5 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 8.4.0 before 8.4.5Ecosystem versions | 8.4.5 |
| From 7.0 before 7.57Ecosystem versions | 7.57 |
Version evidence: OSV · GHSA-2p28-5mvp-2j2r
View original version evidence (5 explicit versions)
Original source description
In Drupal versions 8.4.x versions before 8.4.5 users with permission to post comments are able to view content and comments they do not have access to, and are also able to add comments to this content. This vulnerability is mitigated by the fact that the comment system must be enabled and the attacker must have permission to post comments.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2017-6926
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6926.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6926.yaml
- Source reference github.com/drupal/core
- Security advisory www.drupal.org/sa-core-2018-001