Bug 1539525 (CVE-2017-1000502) - CVE-2017-1000502 jenkins: Users with agent related permissions in EC2 Plugin are able to run arbitrary shell commands on master node
Summary: CVE-2017-1000502 jenkins: Users with agent related permissions in EC2 Plugin ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-1000502
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1539527
TreeView+ depends on / blocked
 
Reported: 2018-01-29 06:18 UTC by Sam Fowler
Modified: 2019-09-29 14:31 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-29 06:21:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Sam Fowler 2018-01-29 06:18:21 UTC
Users with permission to create or configure agents in Jenkins could configure an EC2 agent to run arbitrary shell commands on the master node whenever the agent was supposed to be launched.

Configuration of these agents now requires the Run Scripts permission typically only granted to administrators.

External References:
https://nvd.nist.gov/vuln/detail/CVE-2017-1000502
https://jenkins.io/security/advisory/2017-12-06/

Upstream Patch:
https://github.com/jenkinsci/ec2-plugin/commit/180f7d0eae6031d67259a5d86d9d7d382f9eb05b

Comment 1 Sam Fowler 2018-01-29 06:21:12 UTC
Only affects Jenkins EC2 plugin


Note You need to log in before you can comment on or make changes to this bug.