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

Not scored Published

Attackers can perform unauthorized actions on behalf of authenticated users via CSRF if specific CORS settings are enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is DRUPAL-CONTRIB-2018-021?

DRUPAL-CONTRIB-2018-021 is a vulnerability in drupal/jsonapi, published on 25 Apr 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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

The module doesn't provide CSRF protection when processing authenticated traffic using cookie-based authentication.

This vulnerability is mitigated by the fact that an attacker must be allowed to create or modify entities of a certain type, and a very specific and uncommon CORS configuration that allows all other pre-checks to be skipped.

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

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

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

Upgrade to a fixed version.

Is DRUPAL-CONTRIB-2018-021 being exploited?

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

Sources

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

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

Check your SBOMs for free