Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-9902

Опубликовано: 06 нояб. 2024
Источник: redhat
CVSS3: 6.3
EPSS Низкий

Описание

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.

Меры по смягчению последствий

In the play that uses the user module with the key generation option, have a prior task ensuring the public key does not exist for example:

  • name: avoid user exploit (change name depending on other options used in user task) file: path=/home/{{username}}/.ssh/id_rsa.pub state=absent

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10ansible-coreNot affected
Ansible Automation Platform Execution Environmentsansible-automation-platform/ansible-builder-rhel8FixedRHSA-2024:896906.11.2024
Ansible Automation Platform Execution Environmentsansible-automation-platform/ansible-builder-rhel9FixedRHSA-2024:896906.11.2024
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-29-rhel8FixedRHSA-2024:896906.11.2024
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-minimal-rhel8FixedRHSA-2024:896906.11.2024
Ansible Automation Platform Execution Environmentsansible-automation-platform/ee-minimal-rhel9FixedRHSA-2024:896906.11.2024
Red Hat Ansible Automation Platform 2.4 for RHEL 8ansible-coreFixedRHSA-2024:1076203.12.2024
Red Hat Ansible Automation Platform 2.4 for RHEL 9ansible-coreFixedRHSA-2024:1076203.12.2024
Red Hat Ansible Automation Platform 2.5 for RHEL 8ansible-coreFixedRHSA-2024:989418.11.2024
Red Hat Ansible Automation Platform 2.5 for RHEL 9ansible-coreFixedRHSA-2024:989418.11.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-863
https://bugzilla.redhat.com/show_bug.cgi?id=2318271ansible-core: Ansible-core user may read/write unauthorized content

EPSS

Процентиль: 16%
0.00067
Низкий

6.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.3
ubuntu
около 1 года назад

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.

CVSS3: 6.3
nvd
около 1 года назад

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.

CVSS3: 6.3
msrc
4 месяца назад

Описание отсутствует

CVSS3: 6.3
debian
около 1 года назад

A flaw was found in Ansible. The ansible-core `user` module can allow ...

CVSS3: 6.3
github
около 1 года назад

ansible-core Incorrect Authorization vulnerability

EPSS

Процентиль: 16%
0.00067
Низкий

6.3 Medium

CVSS3

Уязвимость CVE-2024-9902