Drupal core access bypass vulnerability
Published 13 May 2022 · Updated 23 Apr 2024
Affected packages
- Affected
- >=7.0 <7.56
- Fixed in
- 7.56
composer require drupal/core:^7.56- Affected
- >=8.0 <8.3.4
- Fixed in
- 8.3.4
composer require drupal/core:^8.3.4- Affected
- >=8.0 <8.3.4
- Fixed in
- 8.3.4
composer require drupal/drupal:^8.3.4- Affected
- >=7.0 <7.56
- Fixed in
- 7.56
composer require drupal/drupal:^7.56Details
In Drupal core 8.x prior to 8.3.4 and Drupal core 7.x prior to 7.56; Private files that have been uploaded by an anonymous user but not permanently attached to content on the site should only be visible to the anonymous user that uploaded them, rather than all anonymous users. Drupal core did not previously provide this protection, allowing an access bypass vulnerability to occur. This issue is mitigated by the fact that in order to be affected, the site must allow anonymous users to upload files into a private file system.
Is GHSA-58f3-cx8p-h8jg 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-6922
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6922.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6922.yaml
- Packagegithub.com/drupal/core
- Linkwww.debian.org/security/2017/dsa-3897
- Linkwww.drupal.org/SA-CORE-2017-003
- Linkwww.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-06-21/drupal-core-multiple
- Linkwww.securityfocus.com/bid/99219
- Linkwww.securitytracker.com/id/1038781
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.