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

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

                               ESB-2017.1559
         Drupal Core - Multiple Vulnerabilities - SA-CORE-2017-003
                               22 June 2017

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

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

Product:           Drupal Core
Publisher:         Drupal Security Team
Operating System:  Windows
                   UNIX specific
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Create Arbitrary Files          -- Existing Account      
                   Access Confidential Data        -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-6922 CVE-2017-6921 CVE-2017-6920

Original Bulletin: 
   https://www.drupal.org/SA-CORE-2017-003

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

Drupal Core - Multiple Vulnerabilities - SA-CORE-2017-003
Posted by Drupal Security Team on 21 Jun 2017 at 17:44 UTC

Drupal 8.3.4 and Drupal 7.56 are maintenance releases which contain fixes for 
security vulnerabilities.

Download Drupal 8.3.4

Download Drupal 7.56

Updating your existing Drupal 8 and 7 sites is strongly recommended (see 
instructions for Drupal 8 and for Drupal 7). This release fixes security issues
only; there are no new features nor non-security-related bug fixes in this
release. See the 8.3.4 release notes and the 7.56 release notes for details on
important changes and known issues affecting this release. Read on for details
of the security vulnerabilities that were fixed in this release.

    Advisory ID: DRUPAL-SA-CORE-2017-003
    Project: Drupal core
    Version: 7.x, 8.x
    Date: 2017-June-21
    Multiple vulnerabilities

Description

PECL YAML parser unsafe object handling - Critical - Drupal 8 - CVE-2017-6920

PECL YAML parser does not handle PHP objects safely during certain operations 
within Drupal core. This could lead to remote code execution.

File REST resource does not properly validate - Less Critical - Drupal 8 - 
CVE-2017-6921

The file REST resource does not properly validate some fields when manipulating
files. A site is only affected by this if the site has the RESTful Web Services
(rest) module enabled, the file REST resource is enabled and allows PATCH
requests, and an attacker can get or register a user account on the site with
permissions to upload files and to modify the file resource.

Files uploaded by anonymous users into a private file system can be accessed by
other anonymous users - Moderately Critical - Drupal 7 and Drupal 8 - 
CVE-2017-6922

Private files that have been uploaded by an anonymous user but not permanently
attached to content on the site should only be visible to the anonymous user
that uploaded them, rather than all anonymous users. Drupal core did not
previously provide this protection, allowing an access bypass vulnerability to
occur. This issue is mitigated by the fact that in order to be affected, the
site must allow anonymous users to upload files into a private file system.

The security team has also received reports that this vulnerability is being
exploited for spam purposes, similar to the scenario discussed in PSA-2016-003
for the public file system.

Versions affected

    Drupal core 7.x versions prior to 7.56
    Drupal core 8.x versions prior to 8.3.4

Solution

Install the latest version:

    If you use Drupal 7.x, upgrade to Drupal core 7.56
    If you use Drupal 8.x, upgrade to Drupal core 8.3.4

Also see the Drupal core project page.

Reported by

PECL YAML parser unsafe object handling

    Heine Deelstra

File REST resource does not properly validate

    Samuel Mortenson

Files uploaded by anonymous users into a private file system can be accessed by
other anonymous users

    Greg Knaddison of the Drupal Security team
    Mori Sugimoto of the Drupal Security team
    iancawthorne

Fixed by
PECL YAML parser unsafe object handling

    XJM of the Drupal Security team
    Alex Pott of the Drupal Security team
    Peter Wolanin of the Drupal Security team

File REST resource does not properly validate

    Samuel Mortenson
    Wim Leers
    Alex Pott of the Drupal Security team
    XJM of the Drupal Security team
    Sascha Grossenbacher

Files uploaded by anonymous users into a private file system can be accessed by
other anonymous users

    David Rothstein of the Drupal Security team
    Peter Wolanin of the Drupal Security team
    Michael Hess of the Drupal Security team
    XJM of the Drupal Security team
    Chris McCafferty of the Drupal Security team
    Lee Rowlands of the Drupal Security team
    Alex Pott of the Drupal Security team
    Nathaniel Catchpole of the Drupal Security team
    Stefan Ruijsenaars of the Drupal Security team
    Nate Haug
    Gareth Goodwin

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the
contact form at https://www.drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure
code for Drupal, and securing your site.

Follow the Drupal Security Team on Twitter at 
https://twitter.com/drupalsecurity⋅ 

Categories: Drupal 7.x, Drupal 8.x

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

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBWUsOhox+lLeg9Ub1AQixJQ//QmyKfsUmANC7YXS7W+FWlHmCdrc8cRY6
uMxgUdOrrvFNtDOpcvqkSkFz+qRqzM0TKLuMzabfJDoYdqBO2OP+VdxnlA+dE7Hm
waJ3+9P4ZSWTPdVwvZ7ypFdcK8mLMr8/wTXpujfPCen7Ur/P7Fe6VaqmK2uGfggL
y7k8+G2hcql0qfKlB7jtHXcgvM6L9gnDHQsdTO9GaCD9gZ69rE3M0bVUiIpWbunX
lkQ74NYmNZQXuH3Onk5GZgFbWZIxgBpQUvkViyVFM/GfDuY/5ecomxSnEv96npRl
H1xub2d6FcIo8PsODGdmbuMO0w+0jML85ScXq/iczKPpPZbOJaY3gUlJxTWWcYhY
li3CsbLP0+/vLWHwtcbEsq5YUCT1OtGlS7+8wrTpd4TGyKs4m+9YqFqzwr3ded7/
RHRm8eXUaWFkYoq54M3E1mP3w0YaITJHCMW9fOAJx1+AdulOVJXkHLG6M8xoElvm
TnYRjD0ASdGQMq6Jq+G2NOcM6EVtrkaIVlKSJ/8VxKoIWFkE+qLO1KTDWWhqIvNN
FsUj0oja63S8VZp+PN5B6Zy6KYaCjGiF00Sw6mA9uovD+cOWTLxcuybpytfkjXeD
4jBzxSgbjrzPQlRwNwPyjaULKhTiiyLFvyKLlixQTZ+EV02Zp/zPsNeXsAZBId+8
H8aQ9MQQNM4=
=8wS6
-----END PGP SIGNATURE-----