Bug 1875234 (CVE-2020-2231)

Summary: CVE-2020-2231 jenkins: stored XSS vulnerability in 'trigger builds remotely'
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abenaiss, aileenc, aos-bugs, bmontgom, chazlett, drieden, eparis, extras-orphan, ggaughan, gmalinko, janstey, java-sig-commits, jburrell, jochrist, jokerman, jwon, mizdebsk, msrb, nstielau, pbhattac, sponnaga, vbobade
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Jenkins 2.252, Jenkins-LTS 2.235.4 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Jenkins versions prior to 2.251 and LTS 2.235.3. The remote address of hosts starting a build via 'Trigger builds remotely' are not properly escaped leading to a potential stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the authentication token. The highest threat from this vulnerability is to data confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 20:21:35 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: 1869646, 1875235, 1875257, 1875258, 1875259, 1875260, 1875261, 1877292    
Bug Blocks: 1874833    

Description msiddiqu 2020-09-03 05:00:16 UTC
Jenkins 2.251 and earlier, LTS 2.235.3 and earlier does not escape the remote address of the host starting a build via 'Trigger builds remotely'. This results in a stored cross-site scripting (XSS) vulnerability exploitable by users with Job/Configure permission or knowledge of the Authentication Token.

Comment 1 msiddiqu 2020-09-03 05:00:22 UTC
External References:

https://jenkins.io/security/advisory/2020-08-12/#SECURITY-1960

Comment 2 msiddiqu 2020-09-03 05:01:42 UTC
Created jenkins tracking bugs for this issue:

Affects: fedora-31 [bug 1875235]

Comment 5 errata-xmlrpc 2020-09-30 18:55:01 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.5

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

Comment 6 Product Security DevOps Team 2020-09-30 20:21:35 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-2231

Comment 7 errata-xmlrpc 2020-10-13 08:04:24 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.4

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

Comment 10 errata-xmlrpc 2020-10-22 10:48:41 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

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