Skip to content
6.3 Medium

CVE-2024-9902 Ansible-core: ansible-core user may read/write unauthorized content

Description

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.

CVSS 3.1 detail

Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Exploitable with local access to the machine, with an ordinary account and if a user takes an action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Local
Attack complexity
High
Privileges required
Low
Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Affected products and versions

Product Affected versions Fixed in
Ansible Automation Platform Execution Environments 2.15 earliest → < 2.15.12-17 2.15.12-17
Red Hat Ansible Automation Platform 2.4 for RHEL 8 Versions not published
Red Hat Ansible Automation Platform 2.4 for RHEL 9 Versions not published
Red Hat Ansible Automation Platform 2.5 for RHEL 8 Versions not published
Red Hat Ansible Automation Platform 2.5 for RHEL 9 Versions not published
Red Hat OpenStack Platform 17.1 for RHEL 9 Versions not published
Red Hat Enterprise Linux 10 Versions not published

References

Timeline

  1. Published
  2. Last modified
The 3 CVEs of Ansible Automation Platform Execution Environments →
Track this CVE