A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ansible_engine | Redhat | 2.0 (including) | 2.0 (including) |
Ansible_engine | Redhat | 2.4 (including) | 2.4 (including) |
Ansible_engine | Redhat | 2.5 (including) | 2.5 (including) |
Ansible_engine | Redhat | 2.6 (including) | 2.6 (including) |
Ceph_storage | Redhat | 2.0 (including) | 2.0 (including) |
Ceph_storage | Redhat | 3.0 (including) | 3.0 (including) |
Gluster_storage | Redhat | 3.0.0 (including) | 3.0.0 (including) |
Openshift | Redhat | 3.0 (including) | 3.0 (including) |
Openstack | Redhat | 10 (including) | 10 (including) |
Openstack | Redhat | 12 (including) | 12 (including) |
Openstack | Redhat | 13 (including) | 13 (including) |
Virtualization | Redhat | 4.0 (including) | 4.0 (including) |
Virtualization_host | Redhat | 4.0 (including) | 4.0 (including) |
Red Hat Ansible Engine 2.4 for RHEL 7 | RedHat | ansible-0:2.4.6.0-1.el7ae | * |
Red Hat Ansible Engine 2.5 for RHEL 7 | RedHat | ansible-0:2.5.6-1.el7ae | * |
Red Hat Ansible Engine 2.6 for RHEL 7 | RedHat | ansible-0:2.6.1-1.el7ae | * |
Red Hat Ansible Engine 2 for RHEL 7 | RedHat | ansible-0:2.6.1-1.el7ae | * |
Red Hat OpenStack Platform 10.0 (Newton) | RedHat | ansible-0:2.4.6.0-1.el7ae | * |
Red Hat OpenStack Platform 12.0 (Pike) | RedHat | ansible-0:2.4.6.0-1.el7ae | * |
Red Hat OpenStack Platform 12.0 (Pike) | RedHat | ansible-role-redhat-subscription-0:1.0.1-4.el7ost | * |
Red Hat OpenStack Platform 13.0 (Queens) | RedHat | ansible-0:2.4.6.0-1.el7ae | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | imgbased-0:1.0.22-1.el7ev | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | redhat-release-virtualization-host-0:4.2-5.0.el7 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | RedHat | redhat-virtualization-host-0:4.2-20180724.0 | * |
Ansible | Ubuntu | artful | * |
Ansible | Ubuntu | bionic | * |
Ansible | Ubuntu | trusty | * |
Ansible | Ubuntu | trusty/esm | * |
Ansible | Ubuntu | upstream | * |
Ansible | Ubuntu | xenial | * |
This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are: