CVE-2016-8628
published 2018-07-31CVE-2016-8628: Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special…
PriorityP353critical9.1CVSS 3.0
AVNACLPRHUINSCCHIHAH
EPSS
3.25%
87.0th percentile
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ansible | < ansible 2.2.0.0-1 (bookworm) | ansible 2.2.0.0-1 (bookworm) |
| red_hat | ansible | — | — |
| redhat | ansible | < 2.2.0 | 2.2.0 |
| redhat | ansible | >= 0 < 2.2.0.0-1 | 2.2.0.0-1 |
| redhat | ansible | >= 0 < 2.2.0.0-1 | 2.2.0.0-1 |
| redhat | ansible | >= 0 < 2.2.0.0-1 | 2.2.0.0-1 |
| redhat | ansible | >= 0 < 2.2.0.0-1 | 2.2.0.0-1 |
| redhat | ansible | >= 0 < 2.2.0.0 | 2.2.0.0 |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
osv9.1CRITICAL
vendor_debian7.6HIGH
vendor_redhat7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Ansible fails to properly sanitize fact variables sent from the Ansible controller
ghsa·2018-10-10
CVE-2016-8628 [CRITICAL] CWE-77 Ansible fails to properly sanitize fact variables sent from the Ansible controller
Ansible fails to properly sanitize fact variables sent from the Ansible controller
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
OSV
Ansible fails to properly sanitize fact variables sent from the Ansible controller
osv·2018-10-10
CVE-2016-8628 [CRITICAL] Ansible fails to properly sanitize fact variables sent from the Ansible controller
Ansible fails to properly sanitize fact variables sent from the Ansible controller
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
OSV
CVE-2016-8628: Ansible before version 2
osv·2018-07-31·CVSS 9.1
CVE-2016-8628 [CRITICAL] CVE-2016-8628: Ansible before version 2
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Red Hat
ansible: Command injection by compromised server via fact variables
vendor_redhat·2016-11-01·CVSS 7.6
CVE-2016-8628 [HIGH] CWE-77 ansible: Command injection by compromised server via fact variables
ansible: Command injection by compromised server via fact variables
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Ansible fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Package: ansible (Red Hat OpenStack Platform 10 (Newton)) - Not affected
Package: ansible (Red Hat Quickstart Cloud Installer 1) - Affected
Package: ansible (Red Hat Storage 3) - Not affected
Package: ansible (Red Hat Storage
Debian
CVE-2016-8628: ansible - Ansible before version 2.2.0 fails to properly sanitize fact variables sent from...
vendor_debian·2016·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628: ansible - Ansible before version 2.2.0 fails to properly sanitize fact variables sent from...
Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.
Scope: local
bookworm: resolved (fixed in 2.2.0.0-1)
bullseye: resolved (fixed in 2.2.0.0-1)
forky: resolved (fixed in 2.2.0.0-1)
sid: resolved (fixed in 2.2.0.0-1)
trixie: resolved (fixed in 2.2.0.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
bugzilla·2016-11-01·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue af
Bugzilla
CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
bugzilla·2016-11-01·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: t
Bugzilla
CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
bugzilla·2016-11-01·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
CVE-2016-8628 ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue
Bugzilla
CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
bugzilla·2016-11-01·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
CVE-2016-8628 ansible1.9: ansible: Command injection by compromised server via ansible_ssh_executable or ssh_args [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE
Bugzilla
CVE-2016-8628 ansible: Command injection by compromised server via fact variables
bugzilla·2016-10-24·CVSS 7.6
CVE-2016-8628 [HIGH] CVE-2016-8628 ansible: Command injection by compromised server via fact variables
CVE-2016-8628 ansible: Command injection by compromised server via fact variables
It was found that it's possible to inject code and gain remote code execution via setting ansible_ssh_executable variable by attacker that takes over of controlled server.
Discussion:
Acknowledgments:
Name: Michael Scherer (Red Hat)
---
Created ansible1.9 tracking bugs for this issue:
Affects: fedora-all [bug 1390647]
Affects: epel-all [bug 1390649]
---
Created ansible tracking bugs for this issue:
Affects: fedora-all [bug 1390646]
Affects: epel-all [bug 1390648]
---
This issue is addressed in Ansible 2.2.0 available at:
https://github.com/ansible/ansible/releases/tag/v2.2.0.0-1
---
Downgrading this issue from High to Medium as it requires a compromised server in order to exploit a client.
---
2018-07-31
Published