View online: https://www.drupal.org/sa-contrib-2023-022
Project: Album Photos [1] Date: 2023-June-21 Security risk: *Critical* 15∕25 AC:None/A:Admin/CI:All/II:Some/E:Theoretical/TD:Uncommon [2] Vulnerability: Access bypass
Description: This module enables you to create and manage photos and photo albums on your website.
The module doesn't sufficiently check node access when a user is provided the "edit any photo" or "delete any photo" permissions.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "edit any photo" or "delete any photo".
Solution: Install the latest version:
* If you use the 6.0.x version of the photos module for Drupal 9 or 10, upgrade to photos 6.0.4 [3] * If you use the 8.x version of the photos module for Drupal 9, upgrade to photos 8.x-4.5 [4]
Reported By: * Marco Bouwer [5]
Fixed By: * Nathaniel Burnett [6] * Marco Bouwer [7]
Coordinated By: * Chris McCafferty [8] of the Drupal Security Team * Damien McKenna [9] of the Drupal Security Team * Greg Knaddison [10] of the Drupal Security Team
[1] https://www.drupal.org/project/photos [2] https://www.drupal.org/security-team/risk-levels [3] https://www.drupal.org/project/photos/releases/6.0.4 [4] https://www.drupal.org/project/photos/releases/8.x-4.5 [5] https://www.drupal.org/user/1443348 [6] https://www.drupal.org/user/443482 [7] https://www.drupal.org/user/1443348 [8] https://www.drupal.org/user/1850070 [9] https://www.drupal.org/user/108450 [10] https://www.drupal.org/user/36762