Media Library Block - Moderately critical - Information Disclosure - SA-CONTRIB-2023-003
Project: Media Library BlockDate: 2023-January-18Security risk: Moderately critical 14∕25 AC:None/A:None/CI:Some/II:None/E:Theoretical/TD:DefaultVulnerability: Information DisclosureAffected versions: >=1.0 <1.0.4Description: The Media Library Block module allows you to render a media entity in a block.
The module does not properly check media access in some circumstances. This may result in unauthorized users (including anonymous users) seeing media items they are not authorized to access if a block containing a restricted media item is placed on the page.
Administrators may mitigate this vulnerability by removing blocks referencing media items that have access restrictions.Solution: Install the latest version:
- If you use the Media Library Block module for Drupal 9 or 10, upgrade to Media Library Block 1.0.4.
Reported By:
- Lee Rowlands of the Drupal Security Team
- Dan Flanagan
Fixed By:
- ayalon
- xjm of the Drupal Security Team
- Jan Hug
- Dan Flanagan
Coordinated By:
- Dave Reid of the Drupal Security Team
- Damien McKenna of the Drupal Security Team