Hash: SHA256

             AUSCERT External Security Bulletin Redistribution

 Drupal core - Highly critical - Remote Code Execution - SA-CORE-2019-003
                             21 February 2019


        AusCERT Security Bulletin Summary

Product:           Drupal
Publisher:         Drupal
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-6340  

Original Bulletin: 

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

Drupal core - Highly critical - Remote Code Execution - SA-CORE-2019-003

Drupal core


Security risk: 
Highly critical 20/25 AC:None/A:None/CI:All/II:All/E:Theoretical/TD:Uncommon

Remote Code Execution



Some field types do not properly sanitize data from non-form sources. This can
lead to arbitrary PHP code execution in some cases.

A site is only affected by this if one of the following conditions is met:

  o The site has the Drupal 8 core RESTful Web Services (rest) module enabled
    and allows PATCH or POST requests, or
  o the site has another web services module enabled (like JSON:API in Drupal
    8, or Services or RESTful Web Services in Drupal 7).


  o If you are using Drupal 8.6.x, upgrade to Drupal 8.6.10.
  o If you are using Drupal 8.5.x or earlier, upgrade to Drupal 8.5.11.
  o Be sure to install any available security updates for contributed projects
    after updating Drupal core.
  o No core update is required for Drupal 7, but several Drupal 7 contributed
    modules do require updates.

Versions of Drupal 8 prior to 8.5.x are end-of-life and do not receive security

To immediately mitigate the vulnerability, you can disable all web services
modules, or configure your web server(s) to not allow PUT/PATCH/POST requests
to web services resources. Note that web services resources may be available on
multiple paths depending on the configuration of your server(s). For Drupal 7,
resources are for example typically available via paths (clean URLs) and via
arguments to the "q" query argument. For Drupal 8, paths may still function
when prefixed with index.php/.

Reported By: 

  o Samuel Mortenson of the Drupal Security Team

Fixed By: 

  o Sascha Grossenbacher
  o Peter Wolanin of the Drupal Security Team
  o Samuel Mortenson of the Drupal Security Team
  o Daniel Wehner
  o Cash Williams of the Drupal Security Team
  o Wim Leers
  o Jess of the Drupal Security Team
  o Lee Rowlands of the Drupal Security Team
  o Alex Pott of the Drupal Security Team
  o Francesco Placella
  o Damian Lee
  o Tobias Zimmermann
  o Ted Bowman
  o Damien McKenna of the Drupal Security Team
  o Alex Bronstein of the Drupal Security Team
  o Rob Loach
  o Gabe Sullice
  o Michael Hess of the Drupal Security Team
  o Neil Drumm of the Drupal Security Team
  o Heshan Wanigasooriya
  o David Snopek of the Drupal Security Team
  o Wolfgang Ziegler
  o Miro Dietiker
  o Truls S. Yggeseth

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