[Security-news] JSON API - Moderately critical - Cross Site Request Forgery - SA-CONTRIB-2018-021

security-news at drupal.org security-news at drupal.org
Wed Apr 25 18:07:49 UTC 2018


View online: https://www.drupal.org/sa-contrib-2018-021

Project: JSON API [1]
Version: 8.x-1.15
Date: 2018-April-25
Security risk: *Moderately critical* 11∕25
AC:Basic/A:Admin/CI:Some/II:Some/E:Theoretical/TD:Uncommon [2]
Vulnerability: Cross Site Request Forgery

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.

Solution: 
Install the latest version:

   * If you use the JSON API module for Drupal 8.x, upgrade to 8.x-1.16 [3]

Reported By: 
   * Mateu Aguiló Bosch (e0ipso) [4]

Fixed By: 
   * Mateu Aguiló Bosch (e0ipso) [5]
   * Wim Leers [6]
   * Daniel Wehner (dawehner) [7]
   * Gabe Sullice  [8]

Coordinated By: 
   * Michael Hess  [9] of the Drupal Security Team


[1] https://www.drupal.org/project/jsonapi
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/jsonapi/releases/8.x-1.16
[4] https://www.drupal.org/user/550110
[5] https://www.drupal.org/user/550110
[6] https://www.drupal.org/user/99777
[7] https://www.drupal.org/user/99340
[8] https://www.drupal.org/user/2287430
[9] https://www.drupal.org/u/mlhess



More information about the Security-news mailing list