ESB-2018.3707 - [Win][UNIX/Linux] Drupal Bootstrap: Cross-site scripting - Remote with user interaction 2018-11-29

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.3707
          Bootstrap - Moderately critical - Cross site scripting
                             29 November 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Drupal Bootstrap
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin: 
   https://www.drupal.org/sa-contrib-2018-074

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

Bootstrap - Moderately critical - Cross site scripting - SA-CONTRIB-2018-074

Project:         Bootstrap
Version:         7.x-3.22
                 8.x-3.14
Date:            2018-November-28
Security risk:   Moderately critical 11/25 
                 AC:Complex/A:User/CI:Some/II:Some/E:Theoretical/
TD:              Uncommon
Vulnerability:   Cross site scripting

Description:     

This base theme bridges the gap between Drupal and the Bootstrap Framework.

The theme doesn't sufficiently filter valid targets under the scenario of
opening modals, popovers, and tooltips.

This vulnerability is mitigated by the fact that an attacker must already have
the ability to either:

 1. Edit/save custom content that supplies a value for the data-target
    attribute by injecting malicious code.
 2. Inject custom markup onto the page that further exploits the data-target
    attribute by injecting malicious code. This method of attack is highly
    unlikely if they already have this level of access.

Note: while the base-theme does not provide either of these opportunities to do
this out-of-the-box; a custom sub-theme may, however, be susceptible if it
didn't sanitize or filter user provided input for XSS properly.

Solution: 

Install the latest version and take additional manual steps (see below).

  o If you use the Drupal Bootstrap base-theme for Drupal 7.x, upgrade to
    7.x-3.22
  o If you use the Drupal Bootstrap base-theme for Drupal 8.x, upgrade to
    8.x-3.14

Extra Note:

The vulnerability fixed in the Bootstrap theme releases on Drupal.org is a
by-product from forking parts of the external framework's JavaScript code. The
external framework's vulnerability was first reported in a public issue and
later a fix for this vulnerability was merged into the external framework,
however an official release of the external framework has yet to be made.

Users of this theme should take two additional steps:

 1. Follow this external framework issue for further information and to keep
    up-to-date on when you need to upgrade your sub-theme's external framework
    source. You may consider using the distributed files from the temporary
    branch master-xmr-v3-fixes until an official release is made.
 2. Review any custom code on your site that might have copied from the
    external framework's vulnerable code.

Also see the Bootstrap project page.

Reported By: 

  o Gomez_in_the_South

Fixed By: 

  o Mark Carver

Coordinated By: 

  o Greg Knaddison of the Drupal Security Team
  o 
    Samuel Mortenson of the Drupal Security Team

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

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBW/87PmaOgq3Tt24GAQhz0BAA2BS3o9AOFF/WDjfMaho7lceMm7LkTI9Q
LcaYXzVV1qFTTpO7j50IMPdS0kq0+NzkljOrVjnGvqaLjeyLufNcfB3NoVWJH5u9
HJbDFiYSetSWFHG22os2wnLUBjtuXf5+YZAAkFuJoTdp27zLg7rFdak09cyNz6ij
sFuxF0OxLYZ6jY1tFzxyiXCaEppj4YGtkxzd5jbbar45Q+hrBCvlwHsSH6vl+FNl
Kz/iPqiNGmP51TFzI35nxtlb2O42H82SFkTR4J/h3OOD+df4C/zohq8sl5ExKJw1
SPlFEQbMKb6p+s7lWvJtV64tXSYns3yJ14tTMaHlsPgHq4WIoL/BwAoPfxb+jxJs
3BDxAnj/uIvjpTmuUWivhNaTB2iAfbpL1JlydX1HN6DPjYXTIPoAOAt+H3JY/Lde
CWeGlofx6JFA9e72a4+Uo4CfECk8enFp5wz4Tohwhh9MVVxnTZ9KbiiLPIDnstMA
bapvCakjAKp6zxKXbZqE5v1yGyzXncF76n5A9MKfTYVIlL8ZDtymkWPdNRZ3GZgx
no3qOFzdL1hKkU4fdjSAkfx29vQt+L+ecma+0DpI4jqFXn8U+1/rqk04gvDOJ9oF
Sm7/Pcgyo4xqvhkQ+3zl+b95DIWRVFs7Yj/nbC59rZGe6Hb9BN4Lx/4dLIy9Oae6
Ti/OVSatldc=
=PVDV
-----END PGP SIGNATURE-----

« Back to bulletins