Ansible-core: ansible-core user may read/write unauthorized content
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.14.18rc1, 2.15.13rc1, 2.16.13rc1, 2.17.6rc1, 2.18.0rc2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 proof of concept on GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- ansible-core
fixed in 2.14.18rc1; From 2.15.0b1 · fixed in 2.15.13rc1; From 2.16.0b1 · fixed in 2.16.13rc1; From 2.17.0b1 · fixed in 2.17.6rc1; From 2.18.0b1 · fixed in 2.18.0rc2
- ansible-automation-platform/ansible-builder-rhel8
Version range not reported
- ansible-automation-platform/ansible-builder-rhel9
Version range not reported
- ansible-automation-platform/ee-29-rhel8
Version range not reported
- ansible-automation-platform/ee-minimal-rhel8
Version range not reported
- ansible-automation-platform/ee-minimal-rhel9
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-core
Version range not reported
- openstack-ansible-core
Version range not reported
- ansible-core
Version range not reported
- ansible-corePyPI
fixed in 2.14.18rc1
- ansible-corePyPI
From 2.15.0b1 · fixed in 2.15.13rc1
- ansible-corePyPI
From 2.16.0b1 · fixed in 2.16.13rc1
- ansible-corePyPI
From 2.17.0b1 · fixed in 2.17.6rc1
- ansible-corePyPI
From 2.18.0b1 · fixed in 2.18.0rc2
- ansible-corePyPI
fixed in 2.14.18rc1; From 2.15.0b1 · fixed in 2.15.13rc1; From 2.16.0b1 · fixed in 2.16.13rc1; From 2.17.0b1 · fixed in 2.17.6rc1; From 2.18.0b1 · fixed in 2.18.0rc2