Bug 1501812 (CVE-2017-1000393)

Summary: CVE-2017-1000393 jenkins: Arbitrary shell command execution on master by users with Agent-related permissions (SECURITY-478)
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ahardin, bleanhar, ccoleman, dbaker, dedgar, dmcphers, java-sig-commits, jgoulding, jkeck, jokerman, mchappel, mizdebsk, msrb
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: jenkins 2.73.2, jenkins 2.83 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 21:16:39 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: 1501967, 1515065, 1515066    
Bug Blocks: 1501826    

Description Adam Mariš 2017-10-13 09:20:42 UTC
Users with permission to create or configure agents in Jenkins could configure a launch method called Launch agent via execution of command on master. This allowed them to run arbitrary shell commands on the master node whenever the agent was supposed to be launched.

External References:

https://jenkins.io/security/advisory/2017-10-11/

Comment 1 Kurt Seifried 2017-10-13 15:33:50 UTC
Created jenkins tracking bugs for this issue:

Affects: openshift-1 [bug 1501967]

Comment 2 Mark Knowles 2017-11-20 05:45:23 UTC
Created jenkins tracking bugs for this issue:

Affects: fedora-all [bug 1515065]

Comment 4 Jason Shepherd 2018-04-03 04:10:43 UTC
openshift3/jenkins-2-rhel7 now uses version 2.89.2

Marking Openshift Enteprise 3 as not affected.

Comment 5 Product Security DevOps Team 2020-05-20 21:16:39 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-2017-1000393