Bug 1404378 (CVE-2016-9587) - CVE-2016-9587 Ansible: Compromised remote hosts can lead to running commands on the Ansible controller
Summary: CVE-2016-9587 Ansible: Compromised remote hosts can lead to running commands ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-9587
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1410667 1410669 1412356 1412357 1412370 1412371 1427654 1427655 1427656 1447506
Blocks: 1404380 1410660 1415044 1456591
TreeView+ depends on / blocked
 
Reported: 2016-12-13 17:06 UTC by Kurt Seifried
Modified: 2020-04-15 14:59 UTC (History)
54 users (show)

Fixed In Version: ansible 2.1.4, ansible 2.2.1
Doc Type: If docs needed, set a value
Doc Text:
An input validation vulnerability was found in Ansible's handling of data sent from client systems. An attacker with control over a client system being managed by Ansible and the ability to send facts back to the Ansible server could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.
Clone Of:
Environment:
Last Closed: 2019-06-08 03:04:22 UTC
Embargoed:


Attachments (Terms of Use)
Computest's original findings, code and reporting. (6.91 KB, application/zip)
2016-12-20 18:39 UTC, Jason McKerr
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0195 0 normal SHIPPED_LIVE Important: ansible security update 2017-01-26 01:35:03 UTC
Red Hat Product Errata RHSA-2017:0260 0 normal SHIPPED_LIVE Important: ansible and gdeploy security and bug fix update 2017-02-07 16:32:47 UTC
Red Hat Product Errata RHSA-2017:0448 0 normal SHIPPED_LIVE Important: ansible and openshift-ansible security and bug fix update 2017-03-06 21:36:25 UTC
Red Hat Product Errata RHSA-2017:0515 0 normal SHIPPED_LIVE Important: ansible and ceph-ansible security, bug fix, and enhancement update 2017-04-18 21:12:31 UTC
Red Hat Product Errata RHSA-2017:1685 0 normal SHIPPED_LIVE Important: ansible security, bug fix, and enhancement update 2017-07-06 11:23:28 UTC

Description Kurt Seifried 2016-12-13 17:06:51 UTC
It is reported that a compromised remote hosts can lead to running commands on the Ansible controller.

Comment 1 James Cammarata 2016-12-19 22:48:52 UTC
Verified attack vectors across devel branch/2.2/2.1 and have created private branches to address the issue across these versions. Due to the holidays, we will hold off on disclosing the vulnerability and will release new candidate versions for stable-2.1 and stable-2.2 branches (2.1.4 RC1 and 2.2.1 RC3 respectively) ASAP in early January.

Comment 2 Jason McKerr 2016-12-20 18:38:34 UTC
I've attached the original reporters research and findings.

Comment 3 Jason McKerr 2016-12-20 18:39:24 UTC
Created attachment 1234010 [details]
Computest's original findings, code and reporting.

Comment 6 James Cammarata 2017-01-09 17:36:33 UTC
Ansible 2.2.1 RC3 and 2.1.4 RC1 were released today, which contain fixes for the security bugs above.

Comment 10 Ken Dreyer (Red Hat) 2017-01-11 20:11:02 UTC
We need Fedora and EPEL tracking bugs for this.

Comment 11 Kurt Seifried 2017-01-11 20:45:31 UTC
Created ansible tracking bugs for this issue:

Affects: fedora-all [bug 1412356]
Affects: epel-all [bug 1412357]

Comment 14 Ken Dreyer (Red Hat) 2017-01-17 03:40:06 UTC
v2.2.1.0 was released upstream today and fixes this bug.

Comment 20 errata-xmlrpc 2017-01-25 20:35:23 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 10.0 (Newton)

Via RHSA-2017:0195 https://rhn.redhat.com/errata/RHSA-2017-0195.html

Comment 21 errata-xmlrpc 2017-02-07 11:35:56 UTC
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 7

Via RHSA-2017:0260 https://rhn.redhat.com/errata/RHSA-2017-0260.html

Comment 30 errata-xmlrpc 2017-03-06 16:37:16 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.2
  Red Hat OpenShift Container Platform 3.3
  Red Hat OpenShift Container Platform 3.4

Via RHSA-2017:0448 https://access.redhat.com/errata/RHSA-2017:0448

Comment 31 errata-xmlrpc 2017-03-14 15:52:01 UTC
This issue has been addressed in the following products:

  Red Hat Storage Console 2 for Red Hat Enteprise Linux 7

Via RHSA-2017:0515 https://access.redhat.com/errata/RHSA-2017:0515

Comment 36 errata-xmlrpc 2017-07-06 07:28:56 UTC
This issue has been addressed in the following products:

  RHEV Engine version 4.1

Via RHSA-2017:1685 https://access.redhat.com/errata/RHSA-2017:1685


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