CVE-2024-47191 Path traversal in n/a
A path traversal vulnerability in the oath-toolkit PAM module allows local attackers to escalate privileges to root via symlink mishandling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47191?
CVE-2024-47191 is a high-severity path traversal vulnerability in n/a, published on 9 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
pam_oath.so in oath-toolkit 2.6.7 through 2.6.11 before 2.6.12 allows root privilege escalation because, in the context of PAM code running as root, it mishandles usersfile access, such as by calling fchown in the presence of a symlink.
Weakness: CWE-22
Which versions are affected by CVE-2024-47191?
Linux distribution packages (40)
ceph Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-base Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-base-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-common Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-common-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-debugsource Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-exporter-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-fuse Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-fuse-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-immutable-object-cache Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-immutable-object-cache-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-mds-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-mgr-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-mib Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-mon-client-nvmeof-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-mon-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-osd-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-radosgw-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-resource-agents Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-selinux Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
ceph-test-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
cephadm Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
cephfs-mirror-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
cephfs-top Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs-daemon-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs-devel Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs-proxy2 Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs-proxy2-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs2 Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephfs2-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libcephsqlite-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
liboath Red Hat:ceph_storage:8.0::el9 | All versions | 0:2.6.12-1.el9cp |
liboath-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 0:2.6.12-1.el9cp |
libpskc-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 0:2.6.12-1.el9cp |
librados-devel Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
librados-devel-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
librados2 Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
librados2-debuginfo Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
libradospp-devel Red Hat:ceph_storage:8.0::el9 | All versions | 2:19.2.0-124.el9cp |
How do I fix CVE-2024-47191?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-47191 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47191 exists.
Sources
Also known as AZL-50121, AZL-50124, DEBIAN-CVE-2024-47191, DSA-5784-1, GHSA-w8jp-q8g4-9f42, MGASA-2024-0335 and 5 more.