DRUPAL-CONTRIB-2022-054 The Next.js module provides an inline preview for content.

Not scored Published

Authenticated users can access unauthorized content due to insufficient access checks in the Next.js module's JSON:API requests.

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-CONTRIB-2022-054?

DRUPAL-CONTRIB-2022-054 is a missing authorization vulnerability in drupal/next, published on 7 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Next.js module provides an inline preview for content. Authenticated requests are made to Drupal to fetch JSON:API content and render them in an iframe from the decoupled Next.js site.

The current implementation doesn’t sufficiently check access for fetching data. All requests made to Drupal are authenticated using a single scope with elevated content access. Users without access to content could be exposed to unauthorized content.

Which versions are affected by DRUPAL-CONTRIB-2022-054?

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

How do I fix DRUPAL-CONTRIB-2022-054?

Apply the vendor's patch.

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

Is DRUPAL-CONTRIB-2022-054 being exploited?

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

Sources

Is DRUPAL-CONTRIB-2022-054 in your software?

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

Check your SBOMs for free