A flaw was found in several ansible modules, where parameters containing credentials, such as secrets, were being logged in plain-text on managed nodes, as well as being made visible on the controller node when run in verbose mode. These parameters were not protected by the no_log feature. An attacker can take advantage of this information to steal those credentials, provided when they have access to the log files containing them. The highest threat from this vulnerability is to data confidentiality. This flaw affects Red Hat Ansible Automation Platform in versions before 1.2.2 and Ansible Tower in versions before 3.8.2.
Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ansible | Redhat | * | 1.2.2 (excluding) |
Ansible_tower | Redhat | * | 3.8.2 (excluding) |
Red Hat Ansible Automation Platform 1.2 for RHEL 7 | RedHat | ansible-automation-platform/platform-resource-operator-bundle:v0.1.1-1 | * |
Red Hat Ansible Automation Platform 1.2 for RHEL 7 | RedHat | ansible-automation-platform/platform-resource-rhel7-operator:v0.1.0-12 | * |
Red Hat Ansible Automation Platform 1.2 for RHEL 7 | RedHat | ansible-automation-platform/platform-resource-runner-rhel7:v0.1.0-15 | * |
Red Hat Ansible Engine 2.9 for RHEL 7 | RedHat | ansible-0:2.9.20-1.el7ae | * |
Red Hat Ansible Engine 2.9 for RHEL 8 | RedHat | ansible-0:2.9.20-1.el8ae | * |
Red Hat Ansible Engine 2 for RHEL 7 | RedHat | ansible-0:2.9.20-1.el7ae | * |
Red Hat Ansible Engine 2 for RHEL 8 | RedHat | ansible-0:2.9.20-1.el8ae | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | RedHat | redhat-virtualization-host-0:4.4.7-20210715.1.el8_4 | * |
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | RedHat | ansible-0:2.9.21-1.el8ae | * |
Red Hat Virtualization Engine 4.4 | RedHat | ansible-0:2.9.21-1.el8ae | * |
Ansible | Ubuntu | bionic | * |
Ansible | Ubuntu | groovy | * |
Ansible | Ubuntu | hirsute | * |
Ansible | Ubuntu | impish | * |
Ansible | Ubuntu | kinetic | * |
Ansible | Ubuntu | lunar | * |
Ansible | Ubuntu | mantic | * |
Ansible | Ubuntu | trusty | * |
Ansible | Ubuntu | trusty/esm | * |
Ansible | Ubuntu | xenial | * |
While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for: