Bug 1601617 (CVE-2018-14042)

Summary: CVE-2018-14042 bootstrap: Cross-site Scripting (XSS) in the data-container property of tooltip
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abergmann, abokovoy, aboyko, alazarot, amasferr, anstephe, apevec, asoldano, axilleas, bbaranow, bbuckingham, bcourt, bkearney, bmaxwell, bmcclain, boliveir, brian.stansberry, cdewolf, chazlett, cheimes, chrisw, cpelland, dajohnso, darran.lofthouse, dbecker, dblechte, dfediuck, dkreling, dkwakkel, dmetzger, dosoudil, eedri, etirelli, fjuma, frenaud, gblomqui, gmccullo, gshereme, gtanzill, hhudgeon, ibek, iweiss, jfrey, jhardy, jjoyce, jochrist, jprause, jschluet, jwon, kdixon, krathod, kverlaen, lgao, lhh, lpeer, markmc, mburns, meissner, mgoldboi, michal.skrivanek, mkosek, mkudlej, mmccune, mosmerov, mrunge, msochure, msvehla, nwallace, obarenbo, ohadlevy, pdrozd, pjindal, pmackay, pskopek, rbryant, rchan, rcritten, rdopiera, rhcs-maint, rhos-maint, rjerrido, roliveri, rrajasek, rstancel, rsynek, rzhang, sbonazzo, sclewis, sdaley, sherold, simaishi, slinaber, smaestri, sthorger, tdecacqu, tjochec, tlestach, tom.jenkinson, tscherf, twoerner
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bootstrap 4.1.2, bootstrap 3.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 21:57:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1639099, 1654024, 1654025, 1654026, 1657416, 1657417, 1657418, 1657419, 1657420, 1811982, 1811983, 1811984, 1811985    
Bug Blocks: 1632066    

Description Laura Pardo 2018-07-16 22:54:11 UTC
A flaw was found in Bootstrap from version 4.0 and before 4.1.2. A Cross-site Scripting (XSS) is possible in the data-container property of tooltip.


References:
https://github.com/twbs/bootstrap/issues/26628

Upstream Patch:
https://github.com/twbs/bootstrap/pull/26630

Comment 2 Doran Moppert 2018-10-15 05:20:30 UTC
bootstrap 3.3.7 is affected by this flaw.

Comment 5 dkwakkel 2018-11-22 08:32:59 UTC
@Doran Moppert: According to https://github.com/twbs/bootstrap/issues/26628 they explicit state that 3.3.7 is not affected. Any reason why you think it is?

Comment 7 Doran Moppert 2018-12-07 00:43:30 UTC
In reply to comment #5:
> @Doran Moppert: According to https://github.com/twbs/bootstrap/issues/26628
> they explicit state that 3.3.7 is not affected. Any reason why you think it
> is?

Sorry, I should have made this clear in a public comment.

The reproducer [1] linked from the upstream ticket continues to work if you change the bootstrap paths to read 3.3.7 instead of 4.4.1.  I saw a test case elsewhere referencing bootstrap 3.3.7 but an invalid jquery url, which failed to work.

1: https://jsbin.com/bimipayoda/edit?html,output

Comment 14 Cedric Buissart 2019-03-15 14:42:14 UTC
Statement:

Red Hat Satellite 6.2 and newer versions don't use the bootstrap library, hence are not affected by this flaw.

Red Hat CloudForms 4.6 and newer versions include the vulnerable component, but there is no risk of exploitation, since there is no possible vector to access the vulnerability. Older Red Hat CloudForms versions don't use the vulnerable component at all.

Red Hat Enterprise Satellite 5 is now in Maintenance Support 2 phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Satellite 5 Life Cycle: https://access.redhat.com/support/policy/updates/satellite.

Comment 16 errata-xmlrpc 2020-09-29 19:57:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3936 https://access.redhat.com/errata/RHSA-2020:3936

Comment 17 Product Security DevOps Team 2020-09-29 21:57:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-14042

Comment 18 errata-xmlrpc 2020-11-04 02:49:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4670 https://access.redhat.com/errata/RHSA-2020:4670

Comment 19 errata-xmlrpc 2020-11-04 03:14:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4847 https://access.redhat.com/errata/RHSA-2020:4847

Comment 22 errata-xmlrpc 2020-12-16 13:52:17 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 13.0 (Queens)
  Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUS

Via RHSA-2020:5571 https://access.redhat.com/errata/RHSA-2020:5571

Comment 26 errata-xmlrpc 2023-01-31 13:10:22 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8

Via RHSA-2023:0553 https://access.redhat.com/errata/RHSA-2023:0553

Comment 27 errata-xmlrpc 2023-01-31 13:14:24 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7

Via RHSA-2023:0552 https://access.redhat.com/errata/RHSA-2023:0552

Comment 28 errata-xmlrpc 2023-01-31 13:17:59 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9

Via RHSA-2023:0554 https://access.redhat.com/errata/RHSA-2023:0554

Comment 29 errata-xmlrpc 2023-01-31 13:19:09 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Enterprise Application Platform

Via RHSA-2023:0556 https://access.redhat.com/errata/RHSA-2023:0556

Comment 30 errata-xmlrpc 2023-03-01 21:42:32 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 7

Via RHSA-2023:1043 https://access.redhat.com/errata/RHSA-2023:1043

Comment 31 errata-xmlrpc 2023-03-01 21:44:56 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 8

Via RHSA-2023:1044 https://access.redhat.com/errata/RHSA-2023:1044

Comment 32 errata-xmlrpc 2023-03-01 21:47:24 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On 7.6 for RHEL 9

Via RHSA-2023:1045 https://access.redhat.com/errata/RHSA-2023:1045

Comment 33 errata-xmlrpc 2023-03-01 21:50:12 UTC
This issue has been addressed in the following products:

  RHEL-8 based Middleware Containers

Via RHSA-2023:1047 https://access.redhat.com/errata/RHSA-2023:1047

Comment 34 errata-xmlrpc 2023-03-01 21:58:22 UTC
This issue has been addressed in the following products:

  Red Hat Single Sign-On

Via RHSA-2023:1049 https://access.redhat.com/errata/RHSA-2023:1049