DRUPAL-CONTRIB-2023-003 The Media Library Block module allows you to render a media entity in a block.

Not scored Published

Unauthorized users can view restricted media items due to missing access checks in the Media Library Block module.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is DRUPAL-CONTRIB-2023-003?

DRUPAL-CONTRIB-2023-003 is a missing authorization vulnerability in drupal/media_library_block, published on 18 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Which versions are affected by DRUPAL-CONTRIB-2023-003?

Linux distribution packages (1)
drupal/media_library_block Packagist:https://packages.drupal.org/8All versions1.0.4

How do I fix DRUPAL-CONTRIB-2023-003?

Change a configuration setting.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is DRUPAL-CONTRIB-2023-003 being exploited?

There is no known exploitation of DRUPAL-CONTRIB-2023-003 in the wild and no public exploit code.

Sources

Is DRUPAL-CONTRIB-2023-003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free