Drupal Settings Tray access bypass
Published 13 May 2022 · Updated 23 Apr 2024
Affected packages
- Affected
- >=8.4.0 <8.4.5
- Fixed in
- 8.4.5
composer require drupal/core:^8.4.5- Affected
- >=8.4.0 <8.4.5
- Fixed in
- 8.4.5
composer require drupal/drupal:^8.4.5Details
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.
Is GHSA-7ffh-cjvg-fpr4 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.