cve/2020/CVE-2020-10684.md

22 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2020-10684](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10684)
![](https://img.shields.io/static/v1?label=Product&message=Ansible&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-362&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-862&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94&color=brighgreen)
### Description
A flaw was found in Ansible Engine, all versions 2.7.x, 2.8.x and 2.9.x prior to 2.7.17, 2.8.9 and 2.9.6 respectively, when using ansible_facts as a subkey of itself and promoting it to a variable when inject is enabled, overwriting the ansible_facts after the clean. An attacker could take advantage of this by altering the ansible_facts, such as ansible_hosts, users and any other key data which would lead into privilege escalation or code injection.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Live-Hack-CVE/CVE-2020-10684
- https://github.com/opeco17/poetry-audit-plugin