Drupal Settings Tray access bypass
Impact
In Drupal versions 8.4.x versions before 8.4.5 the Settings Tray module has a vulnerability that allows users to update certain data that they do not have the permissions for. If you have implemented a Settings Tray form in contrib or a custom module, the correct access checks should be added. This release fixes the only two implementations in core, but does not harden against other such bypasses. This vulnerability can be mitigated by disabling the Settings Tray module.
Source excerpt · OSVThis vulnerability can be mitigated by disabling the Settings Tray module.
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 |
Version evidence: OSV · GHSA-7ffh-cjvg-fpr4
View original version evidence (5 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 8.4.0 before 8.4.5Ecosystem versions | 8.4.5 |
Version evidence: OSV · GHSA-7ffh-cjvg-fpr4
View original version evidence (5 explicit versions)
Original source description
In Drupal versions 8.4.x versions before 8.4.5 the Settings Tray module has a vulnerability that allows users to update certain data that they do not have the permissions for. If you have implemented a Settings Tray form in contrib or a custom module, the correct access checks should be added. This release fixes the only two implementations in core, but does not harden against other such bypasses. This vulnerability can be mitigated by disabling the Settings Tray module.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2017-6931
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6931.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6931.yaml
- Source reference github.com/drupal/core
- Security advisory www.drupal.org/sa-core-2018-001