CVE Vulnerabilities

CVE-2018-16859

Insertion of Sensitive Information into Log File

Published: Nov 29, 2018 | Modified: Apr 03, 2019
CVSS 3.x
4.4
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu

Execution of Ansible playbooks on Windows platforms with PowerShell ScriptBlock logging and Module logging enabled can allow for become passwords to appear in EventLogs in plaintext. A local user with administrator privileges on the machine can view these logs and discover the plaintext password. Ansible Engine 2.8 and older are believed to be vulnerable.

Weakness

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Affected Software

Name Vendor Start Version End Version
Ansible_engine Redhat * 2.5.13 (excluding)
Ansible_engine Redhat 2.6.0 (including) 2.6.10 (excluding)
Ansible_engine Redhat 2.7.0 (including) 2.7.4 (excluding)
Ansible_engine Redhat 2.7.5 (including) 2.8 (including)

Extended Description

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:

Potential Mitigations

References