{"id":"CVE-2018-16859","state":"PUBLISHED","title":"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 plaint","description":"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.","publishedAt":"2018-11-29T17:00:00.000Z","updatedAt":"2024-08-05T10:32:54.246Z","severity":{"score":4.2,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat ansible"],"affected":[{"vendor":"Red Hat","product":"ansible","versions":[{"version":"2.8 and older","status":"affected"}]}],"references":["https://github.com/ansible/ansible/pull/49142","https://access.redhat.com/errata/RHSA-2018:3770","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","https://access.redhat.com/errata/RHSA-2018:3771","http://www.securityfocus.com/bid/106004","https://access.redhat.com/errata/RHSA-2018:3773","https://access.redhat.com/errata/RHSA-2018:3772","http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html","http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T19:44:25.237Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/16xxx/CVE-2018-16859.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-16859","state":"PUBLISHED","datePublished":"2018-11-29T17:00:00.000Z","dateUpdated":"2024-08-05T10:32:54.246Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2018-09-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Red Hat","product":"ansible","versions":[{"version":"2.8 and older","status":"affected"}]}],"references":[{"url":"https://github.com/ansible/ansible/pull/49142","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3770","name":"RHSA-2018:3770","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3771","name":"RHSA-2018:3771","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/106004","name":"106004","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3773","name":"RHSA-2018:3773","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3772","name":"RHSA-2018:3772","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html","name":"openSUSE-SU-2019:1125","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html","name":"openSUSE-SU-2019:1635","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html","name":"openSUSE-SU-2019:1858","tags":["vendor-advisory","x_refsource_SUSE"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2019-08-14T08:06:03.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2018-11-16T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-16859","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ansible","version":{"version_data":[{"version_value":"2.8 and older"}]}}]},"vendor_name":"Red Hat"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"4.2/CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-532"}]}]},"references":{"reference_data":[{"name":"https://github.com/ansible/ansible/pull/49142","refsource":"CONFIRM","url":"https://github.com/ansible/ansible/pull/49142"},{"name":"RHSA-2018:3770","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3770"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859"},{"name":"RHSA-2018:3771","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3771"},{"name":"106004","refsource":"BID","url":"http://www.securityfocus.com/bid/106004"},{"name":"RHSA-2018:3773","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3773"},{"name":"RHSA-2018:3772","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3772"},{"name":"openSUSE-SU-2019:1125","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"},{"name":"openSUSE-SU-2019:1635","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html"},{"name":"openSUSE-SU-2019:1858","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/ansible/ansible/pull/49142","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3770","name":"RHSA-2018:3770","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16859","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3771","name":"RHSA-2018:3771","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/106004","name":"106004","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3773","name":"RHSA-2018:3773","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3772","name":"RHSA-2018:3772","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html","name":"openSUSE-SU-2019:1125","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html","name":"openSUSE-SU-2019:1635","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html","name":"openSUSE-SU-2019:1858","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:32:54.246Z"}}]}}}