CVE-2018-10875
published 2018-07-13CVE-2018-10875: 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…
PriorityP340high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.59%
44.2th percentile
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.
Affected
28 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | ansible | < ansible 2.6.1+dfsg-1 (bookworm) | ansible 2.6.1+dfsg-1 (bookworm) |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| redhat | ansible | >= 0 < 2.6.1+dfsg-1 | 2.6.1+dfsg-1 |
| redhat | ansible | >= 0 < 2.6.1+dfsg-1 | 2.6.1+dfsg-1 |
| redhat | ansible | >= 0 < 2.6.1+dfsg-1 | 2.6.1+dfsg-1 |
| redhat | ansible | >= 0 < 2.6.1+dfsg-1 | 2.6.1+dfsg-1 |
| redhat | ansible | >= 0 < 2.4.6.0 | 2.4.6.0 |
| redhat | ansible | >= 0 < 2.0.0.2-2ubuntu1.3 | 2.0.0.2-2ubuntu1.3 |
| redhat | ansible | >= 0 < 2.5.1+dfsg-1ubuntu0.1 | 2.5.1+dfsg-1ubuntu0.1 |
| redhat | ansible | >= 2.5.0a1 < 2.5.6 | 2.5.6 |
| redhat | ansible | >= 2.6.0a1 < 2.6.1 | 2.6.1 |
| redhat | ansible_engine | — | — |
| redhat | ansible_engine | — | — |
| redhat | ansible_engine | — | — |
| redhat | ansible_engine | — | — |
| redhat | ceph_storage | — | — |
| redhat | ceph_storage | — | — |
| redhat | gluster_storage | — | — |
| redhat | openshift | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
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 Arbitrary Code Execution
ghsa·2022-05-13
CVE-2018-10875 [HIGH] CWE-426 Ansible Arbitrary Code Execution
Ansible Arbitrary Code Execution
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.
OSV
Ansible Arbitrary Code Execution
osv·2022-05-13
CVE-2018-10875 [HIGH] Ansible Arbitrary Code Execution
Ansible Arbitrary Code Execution
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.
OSV
ansible vulnerabilities
osv·2019-07-24·CVSS 9.8
CVE-2017-7481 [CRITICAL] ansible vulnerabilities
ansible vulnerabilities
It was discovered that Ansible failed to properly handle sensitive information.
A local attacker could use those vulnerabilities to extract them.
(CVE-2017-7481)
(CVE-2018-10855)
(CVE-2018-16837)
(CVE-2018-16876)
(CVE-2019-10156)
It was discovered that Ansible could load configuration files from the current
working directory containing crafted commands. An attacker could run arbitrary
code as result.
(CVE-2018-10874)
(CVE-2018-10875)
It was discovered that Ansible fetch module had a path traversal vulnerability.
A local attacker could copy and overwrite files outside of the specified
destination.
(CVE-2019-3828)
OSV
CVE-2018-10875: A flaw was found in ansible
osv·2018-07-13·CVSS 7.8
CVE-2018-10875 [HIGH] CVE-2018-10875: A flaw was found in ansible
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.
Ubuntu
Ansible vulnerabilities
vendor_ubuntu·2019-07-24·CVSS 9.8
CVE-2017-7481 [CRITICAL] Ansible vulnerabilities
Title: Ansible vulnerabilities
Summary: Several security issues were fixed in Ansible.
It was discovered that Ansible failed to properly handle sensitive information.
A local attacker could use those vulnerabilities to extract them.
(CVE-2017-7481)
(CVE-2018-10855)
(CVE-2018-16837)
(CVE-2018-16876)
(CVE-2019-10156)
It was discovered that Ansible could load configuration files from the current
working directory containing crafted commands. An attacker could run arbitrary
code as result.
(CVE-2018-10874)
(CVE-2018-10875)
It was discovered that Ansible fetch module had a path traversal vulnerability.
A local attacker could copy and overwrite files outside of the specified
destination.
(CVE-2019-3828)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ansible: ansible.cfg is being read from current working directory allowing possible code execution
vendor_redhat·2018-06-29·CVSS 7.8
CVE-2018-10875 [HIGH] CWE-426 ansible: ansible.cfg is being read from current working directory allowing possible code execution
ansible: ansible.cfg is being read from current working directory allowing possible code execution
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.
It was found that ansible.cfg is being read from the current working directory, which can be made to point to plugin or module paths that are under control of the attacker. This could allow an attacker to execute arbitrary code.
Statement: Red Hat Gluster Storage 3 and Red Hat Ceph Storage 3 ships the affected version of ansible, but they no longer maintain their own version of ansible. Both the products will consume fixes directly from ansible repository
Debian
CVE-2018-10875: ansible - A flaw was found in ansible. ansible.cfg is read from the current working direct...
vendor_debian·2018·CVSS 7.8
CVE-2018-10875 [HIGH] CVE-2018-10875: ansible - A flaw was found in ansible. ansible.cfg is read from the current working direct...
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.
Scope: local
bookworm: resolved (fixed in 2.6.1+dfsg-1)
bullseye: resolved (fixed in 2.6.1+dfsg-1)
forky: resolved (fixed in 2.6.1+dfsg-1)
sid: resolved (fixed in 2.6.1+dfsg-1)
trixie: resolved (fixed in 2.6.1+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [fedora-all]
bugzilla·2018-07-06·CVSS 7.8
CVE-2018-10875 [HIGH] CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [fedora-all]
CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [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-all.
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.
NOT
Bugzilla
CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [epel-all]
bugzilla·2018-07-06·CVSS 7.8
CVE-2018-10875 [HIGH] CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [epel-all]
CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution [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 epel-all.
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-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution
bugzilla·2018-06-29·CVSS 7.8
CVE-2018-10875 [HIGH] CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution
CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution
It was found that ansible.cfg is being read from current working directory, which cam be made to point to plugin or module paths that are under control of the attacker, allowing to execute arbitrary code.
Discussion:
Acknowledgments:
Name: Brian Coca (Red Hat)
---
s/cam/can/
---
Created ansible tracking bugs for this issue:
Affects: epel-all [bug 1598806]
Affects: fedora-all [bug 1598805]
---
This issue has been addressed in the following products:
Red Hat Ansible Engine 2.5 for RHEL 7
Via RHSA-2018:2150 https://access.redhat.com/errata/RHSA-2018:2150
---
This issue has been addressed in the following products:
Red Hat Ansible Engine 2 for RHEL 7
Via RHSA-2018:
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.htmlhttp://www.securitytracker.com/id/1041396https://access.redhat.com/errata/RHBA-2018:3788https://access.redhat.com/errata/RHSA-2018:2150https://access.redhat.com/errata/RHSA-2018:2151https://access.redhat.com/errata/RHSA-2018:2152https://access.redhat.com/errata/RHSA-2018:2166https://access.redhat.com/errata/RHSA-2018:2321https://access.redhat.com/errata/RHSA-2018:2585https://access.redhat.com/errata/RHSA-2019:0054https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875https://lists.debian.org/debian-lts-announce/2019/09/msg00016.htmlhttps://usn.ubuntu.com/4072-1/https://www.debian.org/security/2019/dsa-4396http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.htmlhttp://www.securitytracker.com/id/1041396https://access.redhat.com/errata/RHBA-2018:3788https://access.redhat.com/errata/RHSA-2018:2150https://access.redhat.com/errata/RHSA-2018:2151https://access.redhat.com/errata/RHSA-2018:2152https://access.redhat.com/errata/RHSA-2018:2166https://access.redhat.com/errata/RHSA-2018:2321https://access.redhat.com/errata/RHSA-2018:2585https://access.redhat.com/errata/RHSA-2019:0054https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875https://lists.debian.org/debian-lts-announce/2019/09/msg00016.htmlhttps://usn.ubuntu.com/4072-1/https://www.debian.org/security/2019/dsa-4396
2018-07-13
Published