CVE-2024-9902
MEDIUMansible-core < 2.14.18rc1 - Unauthenticated Arbitrary File Write via User Module
Title source: llmDescription
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.
References (7)
Core 7
Core References
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:10762
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:8969
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2024:9894
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2025:1861
Vendor Advisory vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2024-9902
Issue Tracking issue-tracking
x_refsource_redhat
https://bugzilla.redhat.com/show_bug.cgi?id=2318271
Scores
CVSS v3
6.3
EPSS
0.0003
EPSS Percentile
8.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-863
Status
published
Products (12)
pypi/ansible-core
0 - 2.14.18rc1PyPI
Red Hat/Ansible Automation Platform Execution Environments
2.14.13-21
Red Hat/Ansible Automation Platform Execution Environments
2.17.6-2
Red Hat/Ansible Automation Platform Execution Environments
2.9.27-32
Red Hat/Ansible Automation Platform Execution Environments
3.0.1-95
Red Hat/Ansible Automation Platform Execution Environments
3.0.1-96
Red Hat/Red Hat Ansible Automation Platform 2.4 for RHEL 8
1:2.15.13-1.el8ap
Red Hat/Red Hat Ansible Automation Platform 2.4 for RHEL 9
1:2.15.13-1.el9ap
Red Hat/Red Hat Ansible Automation Platform 2.5 for RHEL 8
1:2.16.13-1.el8ap
Red Hat/Red Hat Ansible Automation Platform 2.5 for RHEL 9
1:2.16.13-1.el9ap
... and 2 more
Published
Nov 06, 2024
Tracked Since
Feb 18, 2026