[Security-news] Drupal core - Critical - Multiple Vulnerabilities - SA-CORE-2018-001

security-news at drupal.org security-news at drupal.org
Wed Feb 21 18:23:56 UTC 2018


View online: https://www.drupal.org/sa-core-2018-001

Project: Drupal core [1]
Version: 8.4.x-dev7.x-dev
Date: 2018-February-21
Security risk: *Critical* 16∕25
AC:Basic/A:User/CI:Some/II:Some/E:Exploit/TD:Default [2]
Vulnerability: Multiple Vulnerabilities

Description: 
.. Comment reply form allows access to restricted content - Critical -
     Drupal 8

Users with permission to post comments are able to view content and comments
they do not have access to, and are also able to add comments to this
content.

This vulnerability is mitigated by the fact that the comment system must be
enabled and the attacker must have permission to post comments.

.. JavaScript cross-site scripting prevention is incomplete - Critical -
     Drupal 7 and Drupal 8

Drupal has a Drupal.checkPlain() JavaScript function which is used to escape
potentially dangerous text before outputting it to HTML.  This function does
not correctly handle all methods of injecting malicious HTML, leading to a
cross-site scripting vulnerability under certain circumstances.

The PHP functions which Drupal provides for HTML escaping are not affected.

.. Private file access bypass - Moderately Critical - Drupal 7

When using Drupal's private file system, Drupal will check to make sure a
user has access to a file before allowing the user to view or download it.
This check fails under certain conditions in which one module is trying to
grant access to the file and another is trying to deny it, leading to an
access bypass vulnerability.

This vulnerability is mitigated by the fact that it only occurs for unusual
site configurations.

.. jQuery vulnerability with untrusted domains - Moderately Critical - Drupal

A jQuery cross site scripting vulnerability is present when making Ajax
requests to untrusted domains. This vulnerability is mitigated by the fact
that it requires contributed or custom modules in order to exploit.

For Drupal 8, this vulnerability was already fixed in Drupal 8.4.0 as a side
effect of upgrading Drupal core to use a newer version of jQuery. For Drupal
7, it is fixed in the current release (Drupal 7.57) for jQuery 1.4.4 (the
version that ships with Drupal 7 core) as well as for other newer versions of
jQuery that might be used on the site, for example using the jQuery Update
module [3].

.. Language fallback can be incorrect on multilingual sites with node access
     restrictions - Moderately Critical - Drupal 8

When using node access controls with a multilingual site, Drupal marks the
untranslated version of a node as the default fallback for access queries.
This fallback is used for languages that do not yet have a translated version
of the created node. This can result in an access bypass vulnerability.

This issue is mitigated by the fact that it only applies to sites that a) use
the Content Translation module; and b) use a node access module such as
Domain Access which implement hook_node_records().

/Note that the update will mark the node access tables as needing a rebuild,
which will take a long time on sites with a large number of nodes./

.. Settings Tray access bypass - Moderately Critical - Drupal 8

The Settings Tray module has a vulnerability that allows users to update
certain data that they do not have the permissions for.

If you have implemented a Settings Tray form in contrib or a custom module,
the correct access checks should be added. This release fixes the only two
implementations in core, but does not harden against other such bypasses.

This vulnerability can be mitigated by disabling the Settings Tray module.

.. External link injection on 404 pages when linking to the current page -
     Less Critical - Drupal 7

Drupal core has an external link injection vulnerability when the language
switcher block is used. A similar vulnerability exists in various custom and
contributed modules.  This vulnerability could allow an attacker to trick
users into unwillingly navigating to an external site.

Solution: 
Install the latest version:

   * If you are using Drupal 8 , upgrade to Drupal 8.4.5 [4]
   * If you are using Drupal 7 , upgrade to Drupal 7.57 [5]

Reported By: 
   * .. Comment reply form allows access to restricted content - Critical -
        Drupal 8

      * Ivan   [6]

   * .. JavaScript cross-site scripting prevention is incomplete - Critical -
        Drupal 7 and Drupal 8)

      * Grant Gaudet  [7]

   * .. Private file access bypass - Moderately Critical - Drupal 7

      * Anders Olsson  [8]

   * .. jQuery vulnerability with untrusted domains - Moderately Critical -
        Drupal 7

      * will c  [9]

   * .. Language fallback can be incorrect on multilingual sites with node
        access restrictions - Moderately Critical - Drupal 8

      * Ken Rickard  [10]

   * .. Settings Tray access bypass - Moderately Critical - Drupal 8

      * Ted Bowman  [11]

   * .. External link injection on 404 pages when linking to the current page 
-
        Less Critical - Drupal 7

      * David Rothstein  [12] of the Drupal Security Team


Fixed By: 
   * .. Comment reply form allows access to restricted content - Critical -
        Drupal 8

      * Ivan   [13]
      * Lee Rowlands  [14] of the Drupal Security Team
      * David Rothstein  [15] of the Drupal Security Team
      * Nathaniel Catchpole  [16] of the Drupal Security Team
      * Jess   [17] of the Drupal Security Team
      * Wim Leers  [18]
      * Ted Bowman  [19]
      * Matthew Donadio  [20]
      * Tim Plunkett  [21]
      * Peter Wolanin  [22] of the Drupal Security Team

   * .. JavaScript cross-site scripting prevention is incomplete - Critical -
        Drupal 7 and Drupal 8)

      * Grant Gaudet  [23]
      * Kay Leung  [24]
      * Heine Deelstra  [25] of the Drupal Security Team
      * Peter Wolanin  [26] of the Drupal Security Team
      * David Rothstein  [27] of the Drupal Security Team
      * Jess   [28] of the Drupal Security Team
      * Cash Williams  [29] of the Drupal Security Team
      * Matthew Grill  [30]
      * Fatima Sarah Khalid  [31]

   * .. Private file access bypass - Moderately Critical - Drupal 7

      * David Rothstein  [32] of the Drupal Security Team
      * Lee Rowlands  [33] of the Drupal Security Team
      * Jess   [34] of the Drupal Security Team
      * Stefan Ruijsenaars  [35] of the Drupal Security Team
      * Ken Rickard  [36]

   * .. jQuery vulnerability with untrusted domains - Moderately Critical -
        Drupal 7

      * Chris McCafferty  [37] of the Drupal Security Team
      * Matthew Grill  [38]
      * will c  [39]
      * David Rothstein  [40] of the Drupal Security Team
      * Greg Knaddison  [41] of the Drupal Security Team
      * Jess   [42] of the Drupal Security Team
      * Alex Bronstein  [43] of the Drupal Security Team

   * .. Language fallback can be incorrect on multilingual sites with node
        access restrictions - Moderately Critical - Drupal 8

      * Francesco Placella  [44]
      * Gábor Hojtsy  [45]
      * Michael Schmid  [46]
      * Ken Rickard  [47]
      * Tobias Zimmermann  [48]
      * Jess   [49] of the Drupal Security Team
      * Sascha Grossenbacher [50]

   * .. Settings Tray access bypass - Moderately Critical - Drupal 8

      * Ted Bowman  [51]
      * Lee Rowlands  [52] of the Drupal Security Team
      * Wim Leers  [53]
      * Jess   [54] of the Drupal Security Team
      * Samuel Mortenson  [55]
      * Daniel Wehner  [56]
      * David Rothstein  [57] of the Drupal Security Team

   * .. External link injection on 404 pages when linking to the current page 
-
        Less Critical - Drupal 7

      * David Rothstein  [58] of the Drupal Security Team
      * Samuel Mortenson  [59]



[1] https://www.drupal.org/project/drupal
[2] https://www.drupal.org/security-team/risk-levels
[3] https://www.drupal.org/project/jquery_update
[4] https://www.drupal.org/project/drupal/releases/8.4.5
[5] https://www.drupal.org/project/drupal/releases/7.57
[6] https://www.drupal.org/user/556138
[7] https://www.drupal.org/user/360002
[8] https://www.drupal.org/user/855656
[9] https://www.drupal.org/user/2610796
[10] https://www.drupal.org/user/20975
[11] https://www.drupal.org/user/240860
[12] https://www.drupal.org/user/124982
[13] https://www.drupal.org/user/556138
[14] https://www.drupal.org/user/395439
[15] https://www.drupal.org/user/124982
[16] https://www.drupal.org/user/35733
[17] https://www.drupal.org/user/65776
[18] https://www.drupal.org/user/99777
[19] https://www.drupal.org/user/240860
[20] https://www.drupal.org/user/325244
[21] https://www.drupal.org/user/241634
[22] https://www.drupal.org/user/49851
[23] https://www.drupal.org/user/360002
[24] https://www.drupal.org/user/591932
[25] https://www.drupal.org/user/17943
[26] https://www.drupal.org/user/49851
[27] https://www.drupal.org/user/124982
[28] https://www.drupal.org/user/65776
[29] https://www.drupal.org/user/421070
[30] https://www.drupal.org/user/1602706
[31] https://www.drupal.org/user/3319263
[32] https://www.drupal.org/user/124982
[33] https://www.drupal.org/user/395439
[34] https://www.drupal.org/user/65776
[35] https://www.drupal.org/user/551886
[36] https://www.drupal.org/user/20975
[37] https://www.drupal.org/user/1850070
[38] https://www.drupal.org/user/1602706
[39] https://www.drupal.org/user/2610796
[40] https://www.drupal.org/user/124982
[41] https://www.drupal.org/user/36762
[42] https://www.drupal.org/user/65776
[43] https://www.drupal.org/user/78040
[44] https://www.drupal.org/user/183211
[45] https://www.drupal.org/user/4166
[46] https://www.drupal.org/user/643820
[47] https://www.drupal.org/user/20975
[48] https://www.drupal.org/user/107158
[49] https://www.drupal.org/user/65776
[50] https://www.drupal.org/user/214652
[51] https://www.drupal.org/user/240860
[52] https://www.drupal.org/user/395439
[53] https://www.drupal.org/user/99777
[54] https://www.drupal.org/user/65776
[55] https://www.drupal.org/user/2582268
[56] https://www.drupal.org/user/99340
[57] https://www.drupal.org/user/124982
[58] https://www.drupal.org/user/124982
[59] https://www.drupal.org/user/2582268



More information about the Security-news mailing list