CVE-2020-1738
published 2020-03-16CVE-2020-1738: A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a…
PriorityP414low3.9CVSS 3.1
AVLACHPRLUIRSCCNILAL
EPSS
0.38%
30.3th percentile
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ansible | — | — |
| red_hat | ansible | — | — |
| redhat | ansible | <= 2.7.16 | — |
| redhat | ansible | 0 – 2.7.16 | — |
| redhat | ansible | 2.8.0 – 2.8.8 | — |
| redhat | ansible | 2.8.0a1 – 2.8.10 | — |
| redhat | ansible | 2.9.0 – 2.9.5 | — |
| redhat | ansible | 2.9.0a1 – 2.9.6 | — |
| redhat | ansible_tower | <= 3.3.4 | — |
| redhat | ansible_tower | 3.3.5 – 3.4.5 | — |
| redhat | ansible_tower | 3.5.0 – 3.5.5 | — |
| redhat | ansible_tower | 3.6.0 – 3.6.3 | — |
| redhat | cloudforms_management_engine | — | — |
| redhat | openstack | — | — |
CVSS provenance
nvdv3.13.9LOWCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L
nvdv2.02.6LOWAV:L/AC:H/Au:N/C:N/I:P/A:P
osv3.9LOW
vendor_debian3.9LOW
vendor_redhat3.9LOW
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.
OSV
Argument Injection in Ansible
osv·2022-02-09
CVE-2020-1738 [LOW] Argument Injection in Ansible
Argument Injection in Ansible
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
GHSA
Argument Injection in Ansible
ghsa·2022-02-09
CVE-2020-1738 [LOW] CWE-88 Argument Injection in Ansible
Argument Injection in Ansible
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
OSV
CVE-2020-1738: A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified
osv·2020-03-16·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738: A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
Red Hat
ansible: module package can be selected by the ansible facts
vendor_redhat·2020-02-18·CVSS 3.9
CVE-2020-1738 [LOW] CWE-88 ansible: module package can be selected by the ansible facts
ansible: module package can be selected by the ansible facts
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file.
Statement: Ansible Engine 2.7.16, 2.8.10, and 2.9.6 as well as previous versions are affected.
Ansible Tower 3.4.5, 3.5.5 and 3.6.3 as well as previous v
Debian
CVE-2020-1738: ansible - A flaw was found in Ansible Engine when the module package or service is used an...
vendor_debian·2020·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738: ansible - A flaw was found in Ansible Engine when the module package or service is used an...
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-1738 ansible: module package can be selected by the ansible facts [openstack-rdo]
bugzilla·2020-02-27·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738 ansible: module package can be selected by the ansible facts [openstack-rdo]
CVE-2020-1738 ansible: module package can be selected by the ansible facts [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
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.
Discussion:
Fixed by update to 2.8.
Bugzilla
CVE-2020-1738 ansible: module package can be selected by the ansible facts [epel-all]
bugzilla·2020-02-20·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738 ansible: module package can be selected by the ansible facts [epel-all]
CVE-2020-1738 ansible: module package can be selected by the ansible facts [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: this issue affects multiple supported ve
Bugzilla
CVE-2020-1738 ansible: module package can be selected by the ansible facts [fedora-all]
bugzilla·2020-02-20·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738 ansible: module package can be selected by the ansible facts [fedora-all]
CVE-2020-1738 ansible: module package can be selected by the ansible facts [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.
NOTE: this issue affects multiple supporte
Bugzilla
CVE-2020-1738 ansible: module package can be selected by the ansible facts
bugzilla·2020-02-12·CVSS 3.9
CVE-2020-1738 [LOW] CVE-2020-1738 ansible: module package can be selected by the ansible facts
CVE-2020-1738 ansible: module package can be selected by the ansible facts
When the module package or service is used and the parameter 'use' is not specified, the module that will be sent to the node is selected by the ansible_fact.
If a previous task is executed with a malicious user, the module sent can be selected by the attacker.
Additionally, if an Ansible collections are installed the attacker can send the module name to send a reverse shell in temp folder to the node as a binary module.
Discussion:
Acknowledgments:
Name: Damien Aumaitre (Quarkslab), Nicolas Surbayrole (Quarkslab)
---
Borja, is there any upstream reference for this ansible issue?
---
Created ansible tracking bugs for this issue:
Affects: epel-all [bug 1805326]
Affects: fedora-all [bug 1805325]
---
Hey S
2020-03-16
Published