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

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

                               ESB-2021.3133
         Drupal - GraphQL - Moderately critical - Access bypass -
                            SA-CONTRIB-2021-029
                             16 September 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           GraphQL
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Reduced Security -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-13675  

Original Bulletin: 
   https://www.drupal.org/sa-contrib-2021-029

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

Project: GraphQL [1]
Date: 2021-September-15
Security risk: *Moderately critical* 
AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:Default [2]
Vulnerability: Access bypass

CVE IDs: CVE-2020-13675
Description: 
This advisory addresses a similar issue to Drupal core - Moderately critical
- - Access bypass - SA-CORE-2021-008 [3].

The GraphQL module allows file uploads through its HTTP API. The module does
not correctly run all file validation, which causes an access bypass
vulnerability. An attacker might be able to upload files that bypass the file
validation process implemented by modules on the site.

This vulnerability is mitigated by four factors:

   1) The GraphQL module must be enabled on the site.
   2) The GraphQL schema must expose a file upload by using the helper
      "src/GraphQL/Utility/FileUpload.php" in the module.
   3) An attacker must have access to that file upload via the GraphQL API.
   4) The site must employ a file validation module.

Solution:
Install the latest version:

   * If you use the GraphQL module 8.x-4.x for Drupal 8.x or 9.x, upgrade to
     GraphQL 8.x-4.2 [4]
   * If you use the GraphQL module 8.x-3.x for Drupal 8.x no action is needed
     as a result of this advisory as the 8.x-3.x branch is not affected by 
this
     issue.

Reported By:
   * Klaus Purer [5]

Fixed By:
   * Klaus Purer [6]
   * Jess  [7] of the Drupal Security Team
   * pmelab [8]
   * Drew Webber [9] of the Drupal Security Team
   * Lee Rowlands [10] of the Drupal Security Team
   * Alex Pott [11] of the Drupal Security Team
   * Samuel Mortenson [12]
   * Kim Pepper [13]

Coordinated By:
   * xjm [14] of the Drupal Security Team
   * Drew Webber [15] of the Drupal Security Team


[1] https://www.drupal.org/project/graphql
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/sa-core-2021-008
[4] https://www.drupal.org/project/graphql/releases/8.x-4.2
[5] https://www.drupal.org/user/262198
[6] https://www.drupal.org/user/262198
[7] https://www.drupal.org/user/65776
[8] https://www.drupal.org/user/555322
[9] https://www.drupal.org/user/255969
[10] https://www.drupal.org/user/395439
[11] https://www.drupal.org/user/157725
[12] https://www.drupal.org/user/2582268
[13] https://www.drupal.org/user/370574
[14] https://www.drupal.org/u/xjm
[15] https://www.drupal.org/u/mcdruid

- --------------------------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

iQIVAwUBYULWeONLKJtyKPYoAQiYxhAAmmcgB15M9JGsIlKY8cx+kKDBXIf7vW0m
89ztwdj0k8tCzu0so/NekU+dyA946n+VTAaEe1GCt+laJ5j5hF4ObqnjCN5Wt4gR
9jBWVTqF+A+2evIjed9hS6XjIa6iRSHMymoY7GjnjSA8fQ4AvjG/QXQQvFfNcCTk
LAR0QDxphVUYE6buoebDE4vxXy6xwBXLRvZFlKV4BlOLEc1ZerblDlC6VV0sgzYa
2Vabh5KqCOsCQGmRrnZwKyT9uccqzMlNkzIs18zP7Y4H1Q0I9R3+n1xTsK7nShs6
U7lDQ2GpI5tzsKf+bL5E/HuCt+bSumSIt6YzYCXyPUbP6J3B4JN7z2CXM1XTlFBd
B3UC5MmRmAgZADsP054CzoNk6Odb+/dQDVLZsOSIv4/U2x3qrn+tOFaPUFKrmeNj
qFW0qq5Q42NBu1q343KdAD5eojgeV8vtTSDbvKwDm9Zbwkt7g8z3yaJrfxWC0jZb
jKzGrWio94x7ETfBXpbu8fPjjIVhgl/TR0k4pL/6ZqfHho1tD58Q91Zf0TAhAWNy
cjWfNC8dwJP/4ay5IJlHqMAVjjoBn8IqujEyMva+Mip6cNmG5DxWBHT6x0sNEXDp
2kdHh033Ac3GEdPmWUj1s5oovCIpZ32Fu+Nb6kMxY9BxJ2n67PjzXUj5nMwHshd4
F0AMNxFMdtY=
=BOyH
-----END PGP SIGNATURE-----