Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

   JSON:API - Moderately critical - Access bypass - SA-CONTRIB-2018-081
                             21 December 2018


        AusCERT Security Bulletin Summary

Product:           Drupal JSON:API
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Unauthorised Access -- Remote/Unauthenticated
Resolution:        Patch/Upgrade

Original Bulletin: 

- --------------------------BEGIN INCLUDED TEXT--------------------

JSON:API - Moderately critical - Access bypass - SA-CONTRIB-2018-081

Project: JSON:API
Date: 2018-December-19
Security risk: Moderately critical 13/25
Vulnerability: Access bypass


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

The module doesn't sufficiently check access when responding to certain
filtered collection requests, thereby causing an access bypass vulnerability.

In order to fix this issue, two new hooks were added:
hook_jsonapi_ENTITY_TYPE_filter_access() and
hook_jsonapi_entity_field_filter_access(). Sites with custom entity types
and/or with entity or field access customizations may need to implement these
newly introduced hooks.


Install the latest version:

    If you use the JSON:API module 8.x-1.x for Drupal 8.x, upgrade to JSON API 8.x-1.24

Also see the JSON:API project page.

Reported By:

    Gabe Sullice
    Lauri Eskola

Fixed By:

    Gabe Sullice
    Wim Leers
    Alex Bronstein of the Drupal Security Team
    Tobias Zimmermann
    Andrei Mateescu
    Mateu Aguilo Bosch
    Hristo Chonov
    Daniel Wehner
    Sascha Grossenbacher
    Kristiaan Van den Eynde
    Lee Rowlands of the Drupal Security Team

Coordinated By:

    Alex Bronstein of the Drupal Security Team

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
Comment: http://www.auscert.org.au/render.html?it=1967