👻 A Drupal Module against Spectre-like attacks
Find a file
Bernard Joseph Jean Bruno dec8cfe0f7 Update README.md
2021-06-23 18:02:24 +00:00
images Added demo images 2021-06-23 21:36:42 +04:00
src Added global opt-out 2021-06-14 22:27:40 +04:00
changelogs.txt Added change logs 2021-06-23 21:52:05 +04:00
post_spectre.info.yml updated module info 2021-06-14 22:28:51 +04:00
post_spectre.install drupal plugin init 2021-03-24 20:44:52 +04:00
post_spectre.libraries.yml drupal plugin init 2021-03-24 20:44:52 +04:00
post_spectre.links.menu.yml Updated menu description and permissions 2021-06-14 22:28:39 +04:00
post_spectre.module drupal plugin init 2021-03-24 20:44:52 +04:00
post_spectre.permissions.yml Updated menu description and permissions 2021-06-14 22:28:39 +04:00
post_spectre.routing.yml Added global opt-out 2021-06-14 22:27:40 +04:00
post_spectre.services.yml Reject cross origin requests, add default document headers 2021-03-24 23:11:05 +04:00
README.md Update README.md 2021-06-23 18:02:24 +00:00

Post Spectre Drupal Module

Preface

A Drupal module that implements a variety of security mechanisms recommended by the W3C concerning defensive measures against Spectre attacks such as:

  • Site Isolation
    • Decide when (not!) to respond to requests
    • Restrict attackers' ability to load your data as a subresource
    • Restrict attackers' ability to frame your data as a document
    • Restrict attackers' ability to obtain a handle to your window
    • Prevent MIME-type confusion attacks
    • Full isolation

What is Post Spectre ?

The Spectre vulnerability occurs when an attacker attempts to access data in memory space. On the web, this can happen when you open a third-party website in a pop-up or new window, or when a third party displays your website in an iframe, and these sites share the same memory/context as your website without enhanced security.

To mitigate Spectre attacks, we have implemented a practical solution from the W3C specification built into this module.

Installation

  • Download the module. [Click here for latest version]

  • Install it as you normally would by going to Extend > Install new module > upload or by extracting the contents of the zip file to your drupal/modules folder and activating it via your drupal admin dashboard. More info on how to do this here: https://www.drupal.org/docs/extending-drupal/installing-modules

  • Once the module installed, click on Structure > Content types and click on Manage Fields for the content type on which you want the module to be used.

  • Click on Add field & select Post Spectre from the Select a field type dropdown list. Give it a label and hit save. On the next page you'll be able to configure some default settings then you'll be good to go.

Demo

Features

Full isolation

Reverse Tabnabbing disabled

Maintainers