DRUPAL-CORE-2023-002 The Media module does not properly check entity access in some circumstances.

Not scored Published

Authenticated users can view thumbnails of private media items they lack access to due to missing entity access checks in the Media module.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is DRUPAL-CORE-2023-002?

DRUPAL-CORE-2023-002 is a missing authorization vulnerability in drupal/core, published on 15 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Media module does not properly check entity access in some circumstances. This may result in users seeing thumbnails of media items they do not have access to, including for private files.

This release was coordinated with SA-CONTRIB-2023-010.

This advisory is not covered by Drupal Steward.

Which versions are affected by DRUPAL-CORE-2023-002?

1 open source package ship an affected version, including drupal/core.

PackageAffectedFixed in
drupal/core PackagistFrom 8.0.09.4.12, 9.5.5, 10.0.5

How do I fix DRUPAL-CORE-2023-002?

Upgrade drupal/core to a fixed version for your release line: 9.4.12, 9.5.5 or 10.0.5.

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

Is DRUPAL-CORE-2023-002 being exploited?

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

Sources

Is DRUPAL-CORE-2023-002 in your software?

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

Check your SBOMs for free