View online: https://www.drupal.org/SA-CORE-2017-003
Drupal 8.3.4 and Drupal 7.56, are maintenance releases which contain fixes for security vulnerabilities.
Download Drupal 8.3.4 [1]
Download Drupal 7.56 [2]
*Updating your existing Drupal 8 and 7 sites is strongly recommended (see instructions for Drupal 8 [3] and for Drupal 7 [4]).* 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 [5] and the 7.56 release notes [6] 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 [7] * 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 [8] for the public file system.
-------- VERSIONS AFFECTED ---------------------------------------------------
* Drupal core 7.x versions prior to 7.56 [9] * Drupal core 8.x versions prior to 8.3.4 [10]
-------- SOLUTION ------------------------------------------------------------
Install the latest version:
* If you use Drupal 7.x, upgrade to Drupal core 7.56 [11] * If you use Drupal 8.x, upgrade to Drupal core 8.3.4 [12]
Also see the Drupal core [13] project page.
-------- REPORTED BY ---------------------------------------------------------
.... PECL YAML parser unsafe object handling
* Samuel Mortenson [14]
.... File REST resource does not properly validate
* Samuel Mortenson [15]
.... Files uploaded by anonymous users into a private file system can be accessed by other anonymous users
* Greg Knaddison [16] of the Drupal Security team * Mori Sugimoto [17] of the Drupal Security team * iancawthorne [18]
-------- FIXED BY ------------------------------------------------------------
.... PECL YAML parser unsafe object handling
* XJM [19] of the Drupal Security team * Alex Pott [20] of the Drupal Security team * Peter Wolanin [21] of the Drupal Security team
.... File REST resource does not properly validate
* Samuel Mortenson [22] * Wim Leers [23] * Alex Pott [24] of the Drupal Security team * XJM [25] of the Drupal Security team * Sascha Grossenbacher [26]
.... Files uploaded by anonymous users into a private file system can be accessed by other anonymous users
* David Rothstein [27] of the Drupal Security team * Peter Wolanin [28] of the Drupal Security team * Michael Hess [29] of the Drupal Security team * XJM [30] of the Drupal Security team * Chris McCafferty [31] of the Drupal Security team * Lee Rowlands [32] of the Drupal Security team * Alex Pott [33] of the Drupal Security team * Nathaniel Catchpole [34] of the Drupal Security team * Stefan Ruijsenaars [35] of the Drupal Security team * Nate Haug [36] * Gareth Goodwin [37]
-------- 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 [38].
Learn more about the Drupal Security team and their policies [39], writing secure code for Drupal [40], and securing your site [41].
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity [42]
[1] http://ftp.drupal.org/files/projects/drupal-8.3.4.tar.gz [2] http://ftp.drupal.org/files/projects/drupal-7.56.tar.gz [3] https://www.drupal.org/node/2700999 [4] https://www.drupal.org/node/1494290 [5] https://www.drupal.org/project/drupal/releases/8.3.4 [6] https://www.drupal.org/project/drupal/releases/7.56 [7] https://www.drupal.org/project/drupal [8] https://www.drupal.org/psa-2016-003 [9] https://www.drupal.org/project/drupal/releases/7.56 [10] https://www.drupal.org/project/drupal/releases/8.3.4 [11] https://www.drupal.org/project/drupal/releases/7.56 [12] https://www.drupal.org/project/drupal/releases/8.3.4 [13] https://www.drupal.org/project/drupal [14] https://www.drupal.org/user/2582268 [15] https://www.drupal.org/user/2582268 [16] https://www.drupal.org/u/greggles [17] https://www.drupal.org/u/dokumori [18] https://www.drupal.org/u/iancawthorne [19] https://www.drupal.org/u/xjm [20] https://www.drupal.org/u/alexpott [21] https://www.drupal.org/u/pwolanin [22] https://www.drupal.org/u/samuel.mortenson [23] https://www.drupal.org/u/wim-leers [24] https://www.drupal.org/u/alexpott [25] https://www.drupal.org/u/xjm [26] https://www.drupal.org/u/Berdir [27] https://www.drupal.org/u/David_Rothstein [28] https://www.drupal.org/u/pwolanin [29] https://www.drupal.org/u/mlhess [30] https://www.drupal.org/u/xjm [31] https://www.drupal.org/u/cilefen [32] https://www.drupal.org/u/larowlan [33] https://www.drupal.org/u/alexpott [34] https://www.drupal.org/u/catch [35] https://www.drupal.org/u/stefanr-0 [36] https://www.drupal.org/u/quicksketch [37] https://www.drupal.org/u/smaz [38] https://www.drupal.org/contact [39] https://www.drupal.org/security-team [40] https://www.drupal.org/writing-secure-code [41] https://www.drupal.org/security/secure-configuration [42] https://twitter.com/drupalsecurity