-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.3941
   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)
                   Windows
Impact/Access:     Unauthorised Access -- Remote/Unauthenticated
Resolution:        Patch/Upgrade

Original Bulletin: 
   https://www.drupal.org/sa-contrib-2018-081

- --------------------------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
AC:Basic/A:None/CI:Some/II:None/E:Theoretical/TD:All
Vulnerability: Access bypass

Description:

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.

Solution:

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:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBXBwqeWaOgq3Tt24GAQjwsRAAmVfsck7hVaZMh2jvPD9J5tJTRkfW/Sse
FOe2VfO4KPHtvdk80i7ODW9l5FNbz1ELH942R6TlqIbLK4IIvU3hmrbXP7NCwft2
PdgyIFsLUBK6361cT8v7HPV4TJof68Tk/zPqz9NgaVV1iqCX8pGWNcXvtA+HDYWO
mHAWvkB30tyDUxM9bLNAl35LYVCiChFYYcw/KNnsO47RDgKF2iPSldQZJ7IGLDi+
9UpY2/jRWSdT4iDYTuh5Vg1zUw3dNcCcSX5uqiP3ZE1n0pkcWOmnAyrlRx/8sTVw
9ltzxw94nxlCNm0Er0px/NKWqdpztdwiAmsAV2FzhX4lWrGgx3aanLADllzD/fmL
2v+uIWefYexNwrA9gCwkznoVevjg7XUbB3fuuNkt3TsEyH9m25Zzcn6noKAh2Yy3
+nL6aQGXdhEa1wnVwO5/WlnJQ/uOOvAFu+1enrhLaRo2f7VxJADLkVJApUeh4b8/
yxYUqi4k6Z2zaZrA9EotVwWLzxY6NEMgoWwgLWOX5SyZbB4u4X5MjRTH0EhQ4Uaq
IiwnHdjgmdbG/f3aQv7dZLZYeH/Ult5DMiT1w9xahNBI7szz2SlASxF9WwyRapQh
joM4VHXAm6KScTvDnJ/6x20sXcvgBLnMtPL7WAjpXq4RXsNxa4PorXCh5x7e0puJ
Hjmi4P2nE6Y=
=gbW/
-----END PGP SIGNATURE-----