Bug 1849037 (CVE-2020-7015)

Summary: CVE-2020-7015 kibana: XSS in TSVB visualization (ESA-2020-08)
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aos-bugs, bmontgom, eparis, jburrell, jcantril, jokerman, nstielau, sponnaga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kibana 7.7.1, kibana 6.8.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-08 13:19:19 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: 1850847, 1850849, 1858827    
Bug Blocks: 1849050    

Description Michael Kaplan 2020-06-19 14:00:06 UTC
Kibana versions before 6.8.9 and 7.7.0 contains a stored XSS flaw in the TSVB visualization. An attacker who is able to edit or create a TSVB visualization could allow the attacker to obtain sensitive information from, or perform destructive actions, on behalf of Kibana users who edit the TSVB visualization.

References:

https://www.elastic.co/community/security/

Comment 1 Joshua Padman 2020-06-25 03:11:38 UTC
https://github.com/elastic/kibana/commit/a418dc66fa128be74e4de45b04727b35bc37634f is likely the fix especially given the updates to the docs "Less in TSVB does not support custom plugins or inline JavaScript."

Comment 2 Joshua Padman 2020-06-25 03:12:29 UTC
Mitigation:

To mitigate this vulnerability you can set  "metrics.enabled: false" in kibana.yml

Comment 3 Joshua Padman 2020-06-25 03:34:20 UTC
External References:

https://discuss.elastic.co/t/elastic-stack-7-7-1-and-6-8-10-security-update/235573

Comment 5 errata-xmlrpc 2020-09-08 10:09:41 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.5

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

Comment 6 Product Security DevOps Team 2020-09-08 13:19:19 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-2020-7015