Drupal Security

JSON API - Moderately critical - Multiple Vulnerabilities - SA-CONTRIB-2018-015

Project: JSON APIDate: 2018-February-21Security risk: Moderately critical 13∕25 AC:Complex/A:User/CI:Some/II:Some/E:Theoretical/TD:AllVulnerability: Multiple Vulnerabilities Description: 

This module provides a JSON API standards-compliant API for accessing and manipulating Drupal content and configuration entities.

  • The module doesn't sufficiently associate cacheability metadata in certain situations thereby causing an access bypass vulnerability.

    This vulnerability is mitigated by the fact that an attacker cannot trigger an exploitable situation themselves.

  • The module doesn't sufficiently check access in certain situations.

    This vulnerability is mitigated by the fact that an attacker must have permission to create entities of certain content entity types.

Update: This is fixed in 8.x-1.10 not 8.x-1.9Solution: 

Install the latest version:

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

CKEditor Upload Image - Critical - Access bypass - SA-CONTRIB-2018-014

Project: CKEditor Upload ImageDate: 2018-February-21Security risk: Critical 15∕25 AC:None/A:None/CI:None/II:Some/E:Theoretical/TD:AllVulnerability: Access bypassDescription: 

This module enables you to drag and drop or paste images into CKEditor.
The module does not sufficiently verify users permissions, which leads to anonymous users being able to upload files to the server.

Solution: 

Install the latest version:

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Drupal core - Critical - Multiple Vulnerabilities - SA-CORE-2018-001

Drupal Security Advisories - 21. Februar 2018 - 18:10
Project: Drupal coreVersion: 8.4.x-dev7.x-devDate: 2018-February-21Security risk: Critical 16∕25 AC:Basic/A:User/CI:Some/II:Some/E:Exploit/TD:DefaultVulnerability: Multiple Vulnerabilities Description: 

This security advisory fixes multiple vulnerabilities in both Drupal 7 and Drupal 8. See below for a list.

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 (as JavaScript output does not typically go through Twig autoescaping). 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 7

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 in the Drupal core upgrade to jQuery 3. 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.

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

Reported By: 
  • Comment reply form allows access to restricted content - Critical - Drupal 8
  • JavaScript cross-site scripting prevention is incomplete - Critical - Drupal 7 and Drupal 8)
  • Private file access bypass - Moderately Critical - Drupal 7
  • jQuery vulnerability with untrusted domains - Moderately Critical - Drupal 7
  • Language fallback can be incorrect on multilingual sites with node access restrictions - Moderately Critical - Drupal 8
  • Settings Tray access bypass - Moderately Critical - Drupal 8
  • External link injection on 404 pages when linking to the current page - Less Critical - Drupal 7
Fixed By: 
Kategorien: Drupal Security

Entity API - Moderately critical - Information Disclosure - SA-CONTRIB-2018-013

Project: Entity APIDate: 2018-February-14Security risk: Moderately critical 10∕25 AC:Complex/A:User/CI:Some/II:None/E:Theoretical/TD:AllVulnerability: Information DisclosureDescription: 

The Entity API module extends the entity API of Drupal core in order to provide a unified way to deal with entities and their properties.

The module prints debugging information to the HTML output in certain error conditions thereby causing an information disclosure vulnerability.

This vulnerability is mitigated by the fact that an attacker needs to be able to trigger the error condition in a way that protected data is exposed.

Solution: 

Install the latest version:

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Entity Backup - Critical - Module Unsupported - SA-CONTRIB-2018-012

Project: Entity BackupDate: 2018-February-14Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Proof/TD:DefaultVulnerability: Module UnsupportedDescription: 

The main purpose of the Entity Backup module is to keep a backup of deleted Drupal core entities and perform recovery of them.

The security team is marking this module unsupported. There is a known security issue with the module that has not been fixed by the maintainer. If you would like to maintain this module, please read: https://www.drupal.org/node/251466

Solution: 

Uninstall the module

Reported By: 

Jean-Francois Hovinne

Fixed By: 

N/A

Coordinated By: 

N/A

Kategorien: Drupal Security

Dynamic Banner - Critical - Module Unsupported - SA-CONTRIB-2018-011

Project: Dynamic BannerDate: 2018-February-14Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Proof/TD:DefaultVulnerability: Module UnsupportedDescription: 

Dynamic Banner is a module that lightens the load on web developers from creating many blocks for pages with different banners.

The security team is marking this module unsupported. There is a known security issue with the module that has not been fixed by the maintainer. If you would like to maintain this module, please read: https://www.drupal.org/node/251466

Solution: 

Uninstall the module

Reported By: Fixed By: 

N/A

Coordinated By: 

N/A

Kategorien: Drupal Security

Custom Permissions - Moderately critical - Access bypass - SA-CONTRIB-2018-010

Project: Custom PermissionsVersion: 7.x-2.x-devDate: 2018-February-14Security risk: Moderately critical 14∕25 AC:None/A:User/CI:Some/II:Some/E:Theoretical/TD:UncommonVulnerability: Access bypassDescription: 

This module enables the user to set custom permissions per path.

The module doesn't perform sufficient checks on paths with dynamic arguments (like "node/1" or "user/2"), thereby allowing the site administrator to save custom permissions for paths that won't be protected. This could lead to an access bypass vulnerability if the site is relying on the Custom Permissions module to protect those paths.

This vulnerability is mitigated by the fact that it only occurs on sites which attempted to use the Custom Permissions module to protect dynamic paths.

Solution: 

Install the latest version:

After installing the latest version, visit Administration → People → Custom Permissions (admin/people/custom_permissions) and save the form. If it saves with no errors, your site is not vulnerable. However, if an error message is displayed informing you that the module is attempting to protect paths with dynamic arguments that it is unable to protect, your site requires a manual fix; you should reconfigure the site to use a different method to protect these paths (for example, use "node/*" to protect all nodes with the same permission, rather than "node/1" to try to protect only a specific node; or, alternatively, use a node access module to protect the node-related paths with fine-grained access control).

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

VChess - Critical - Module Unsupported - SA-CONTRIB-2018-009

Project: VChessDate: 2018-February-14Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Proof/TD:DefaultVulnerability: Module UnsupportedDescription: 

The Drupal VChess module allows users to play a chess game.

The security team is marking this module unsupported. There is a known security issue with the module that has not been fixed by the maintainer. If you would like to maintain this module, please read: https://www.drupal.org/node/251466

Solution: 

Uninstall the module.

Reported By: Fixed By: 

N/A

Coordinated By: 

N/A

Kategorien: Drupal Security

Entity Reference Tab / Accordion Formatter - Moderately critical - Cross Site Scripting - SA-CONTRIB-2018-008

Project: Entity Reference Tab / Accordion FormatterDate: 2018-February-07Security risk: Moderately critical 14∕25 AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:AllVulnerability: Cross Site ScriptingDescription: 

This module enables you to show referenced entities in tabs.

The module doesn't sufficiently sanitize the body fields of the referenced entities when it prints them to the tabs.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission create/edit content of the content type that is referenced.

Solution: 

Install the latest version:

  • If you use the Entity Reference Tab / Accordion Formatter module for Drupal 8.x, upgrade to 8.x-1.3
Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

FileField Sources - Moderately critical - Access Bypass - SA-CONTRIB-2018-007

Project: FileField SourcesDate: 2018-February-07Security risk: Moderately critical 12∕25 AC:Complex/A:None/CI:Some/II:None/E:Theoretical/TD:AllVulnerability: Access BypassDescription: 

This module enables you to upload files to fields via several sources.

The module doesn't sufficiently handle access control under the scenario of the autocomplete path of reference sources.

Solution: 

Install the latest version:

  • If you use the filefield_sources module provided reference source for Drupal 7.x, upgrade to 7.x-1.11.
Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Taxonomy Term Reference Tree Widget - Moderately critical - Cross Site Scripting - SA-CONTRIB-2018-006

Project: Taxonomy Term Reference Tree WidgetDate: 2018-January-31Security risk: Moderately critical 13∕25 AC:Basic/A:Admin/CI:Some/II:Some/E:Theoretical/TD:AllVulnerability: Cross Site ScriptingDescription: 

This module provides an expandable tree widget for the Taxonomy Term Reference field in Drupal 7.

The module doesn't sufficiently sanitize the output of its own defined field formatter.

This vulnerability is mitigated by the fact that an attacker must have a role with the permission that allows to edit terms of a taxonomy where the module handles its output.

Solution: 

Install the latest version:

  • If you use the Taxonomy Term Reference Tree Widget module for Drupal 7.x, upgrade to its 7.x-1.11
Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Sagepay - Critical - Access Bypass - SA-CONTRIB-2018-005

Project: SagepayVersion: 7.x-1.4Date: 2018-January-31Security risk: Critical 15∕25 AC:None/A:None/CI:Some/II:None/E:Theoretical/TD:AllVulnerability: Access BypassDescription: 

This module integrates the Sagepay payment service.

Some of the URLs used while processing the payment are not sufficiently secured. This might allow attackers to resume a previously failed payment attempt or to view content that should only be shown after a succesful payment. This affects all payments in a Drupal installation with this module enabled (including payments made using other payment methods).

Solution: 

Install the latest version:

Also see the Sagepay project page.

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Backup and Migrate - Critical - Arbitrary PHP code execution - SA-CONTRIB-2018-004

Project: Backup and MigrateDate: 2018-January-24Security risk: Critical 15∕25 AC:Basic/A:User/CI:Some/II:All/E:Theoretical/TD:DefaultVulnerability: Arbitrary PHP code executionDescription: 

This module enables you to create manual and scheduled backups of a site, and restore the site from backup.

The module doesn't sufficiently identify that its custom permissions are risky and should only be granted to highly trusted roles.

Sites using this module should review the permissions page to verify only trusted users are granted permissions defined by the module.

Solution: 

Install the latest version:

Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Bible - Critical - Multiple Vulnerabilities - SA-CONTRIB-2018-003

Project: BibleDate: 2018-January-17Security risk: Critical 17∕25 AC:Basic/A:User/CI:Some/II:All/E:Proof/TD:AllVulnerability: Multiple Vulnerabilities Description: 

This module enables you to display a Bible on your website. Users can associate notes with a Bible version.

This module has a vulnerability that would allow an attacker to wipe out, update or read notes from other users with a carefully crafted title.

A user must have the "Access Bible content" privilege, which is most likely the default if you have enabled this module.

The code appeared to allow other SQL injection vulnerabilities as well. Many lines of code were rewritten to make this module more secure. Therefore, even if you did not give users the "Access Bible content" privilege, there may have been other SQL vulnerabilities which could have been exploited.

Solution: 

Install the latest version:

  • If you use the Bible module for Drupal 7.x, upgrade to Bible 7.x-1.7
Reported By: Fixed By: Coordinated By: 
Kategorien: Drupal Security

Node View Permissions - Moderately critical - Access Bypass - SA-CONTRIB-2018-002

Project: Node View PermissionsVersion: 8.x-1.x-dev7.x-1.x-devDate: 2018-January-10Security risk: Moderately critical 14∕25 AC:None/A:None/CI:Some/II:None/E:Theoretical/TD:DefaultVulnerability: Access BypassDescription: 

The Node view permissions module enables the "View own content" and "View any content" permissions for each content type on the permissions page.

This module has a vulnerability that allows users with these permissions to view unpublished content that they are not otherwise authorized to view.

This issue was fixed by the maintainer outside of the normal security team protocols. Some issues were patched in 2014 for the 7.x version of this module. The 8.x release was updated within the last 6 months. Both are now flagged as security updates.

Solution: 

Install the latest version:

Reported By: Fixed By: 
  • The module maintainer
Coordinated By: 
Kategorien: Drupal Security

Stacks - Critical - Arbitrary PHP code execution - SA-CONTRIB-2018-001

Project: StacksDate: 2018-January-10Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Theoretical/TD:AllVulnerability: Arbitrary PHP code executionDescription: 

This module enables content editors to create complex pages and layouts on the fly without the help from a developer, using reusable widgets.
The module does not sufficiently filter values posted to its AJAX endpoint, which leads to the instantiation of an arbitrary PHP class.
This vulnerability is mitigated by the fact that only sites with the Stacks - Content Feed submodule enabled are affected.

Solution: 

Install the latest version:

  • If you use the Stacks module for Drupal 8.x, upgrade to Stacks 8.x-1.1
Reported By: 
  • Jean-François Hovinne
  • Fixed By: 
  • Mauro Vigliotti the module maintainer
  • Coordinated By: 
  • Michael Hess of the Drupal Security Team
  • Kategorien: Drupal Security

    me aliases - Highly critical - Arbitrary code execution - SA-CONTRIB-2017-097

    Project: me aliasesDate: 2017-December-20Security risk: Highly critical 20∕25 AC:Basic/A:None/CI:All/II:All/E:Theoretical/TD:AllVulnerability: Arbitrary code executionDescription: 

    'me' module provides shortcut paths to current user's pages, eg user/me, blog/me, user/me/edit, tracker/me etc.

    The way 'me' module handles URL arguments allows an attacker to execute arbitrary code strings.

    Solution: 

    Install the latest version:

    • If you use the 'me' module for Drupal 7.x, upgrade to 'me' 7.x-1.3
    Reported By: 
  • ross.linscott
  • Fixed By: 
  • Camilo Bravo
  • nohup
  • Michael Hess of the Drupal Security Team
  • Coordinated By: 
  • Michael Hess of the Drupal Security Team
  • Kategorien: Drupal Security

    Directory based organisational layer - Critical - Unsupported - SA-CONTRIB-2017-096

    Project: Directory based organisational layerDate: 2017-December-20Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Proof/TD:DefaultVulnerability: UnsupportedDescription: 

    This module adds a new organizational layer to Drupal, making it easy for managing large numbers of files and nodes.

    The security team is marking this module unsupported. There is a known security issue with the module that has not been fixed by the maintainer. The security team takes action in cases like this without regard to the severity of the security issue in question. If you would like to maintain this module, please read: https://www.drupal.org/node/251466

    All projects that are being marked unsupported are given a score of critical. Code that is no longer maintained poses a threat to securing sites.

    Solution: 

    If you use the Directory based organisational layer tag module for Drupal you should uninstall it.

    Reported By: 

    Jean-Francois Hovinne

    Fixed By: 

    N/A

    Kategorien: Drupal Security

    ComScore direct tag - Less critical - Cross site scripting - SA-CONTRIB-2017-095

    Project: ComScore direct tagVersion: 7.x-1.x-dev6.x-1.x-devDate: 2017-December-20Security risk: Less critical 7∕25 AC:Complex/A:Admin/CI:None/II:Some/E:Theoretical/TD:UncommonVulnerability: Cross site scriptingDescription: 

    This module enables you to use the comScore Direct analytics system on a site.

    The module doesn't sufficiently sanitize one of the configuration variables prior to rendering it.

    This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer comScore direct".

    Solution: 

    Install the latest version:

    Reported By: Fixed By: Coordinated By: 
    Kategorien: Drupal Security

    Link Click Count - Critical - Unsupported - SA-CONTRIB-2017-094

    Project: Link Click CountDate: 2017-December-20Security risk: Critical 18∕25 AC:None/A:None/CI:Some/II:Some/E:Proof/TD:DefaultVulnerability: UnsupportedDescription: 

    The Link Click Count module helps you to monitor the traffic to your website by creating link fields. These link fields can be individual links or internal/external links that can be added to the content type.

    The security team is marking this module unsupported. There is a known security issue with the module that has not been fixed by the maintainer. The security team takes action in cases like this without regard to the severity of the security issue in question. If you would like to maintain this module, please read: https://www.drupal.org/node/251466

    All projects that are being marked unsupported are given a score of critical. Code that is no longer maintained poses a threat to securing sites.

    Solution: 

    If you use the link click count module for Drupal you should uninstall it.

    Reported By: 

    Karthik Kumar D K

    Fixed By: 

    N/A

    Kategorien: Drupal Security
    kurzzughalt