DRUPAL-CONTRIB-2018-016 This module provides a JSON API standards-compliant API for accessing and manipulating Drupal content and configuration entities.

Not scored Published

An attacker with view permissions can bypass access controls to read related Drupal content and configuration entities via the JSON API.

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-2018-016?

DRUPAL-CONTRIB-2018-016 is a missing authorization vulnerability in drupal/jsonapi, published on 21 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

This module provides a JSON API standards-compliant API for accessing and manipulating Drupal content and configuration entities.

The module doesn't sufficiently check access when viewing related resources or relationships, thereby causing an access bypass vulnerability.

This vulnerability is mitigated by the fact that an attacker must be allowed to view the related data, otherwise all they can glean is an entity type UUID and a UUID, which are meaningless by themselves.

Which versions are affected by DRUPAL-CONTRIB-2018-016?

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

How do I fix DRUPAL-CONTRIB-2018-016?

Upgrade to a fixed version.

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

Is DRUPAL-CONTRIB-2018-016 being exploited?

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

Sources

Is DRUPAL-CONTRIB-2018-016 in your software?

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

Check your SBOMs for free