cve.bz

CVE-2024-47191 Path traversal

7.1 highEPSS 0.3%

High (7.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-47191 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-47191?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-47191?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-47191 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12oath-toolkit2.6.7-3.1+deb12u1DEBIAN-CVE-2024-47191 DSA-5784-1
Debian13, 14oath-toolkit2.6.12-1DEBIAN-CVE-2024-47191
Ubuntu22.04:LTSoath-toolkit2.6.7-3ubuntu0.1UBUNTU-CVE-2024-47191 USN-7059-1
Ubuntu24.04:LTSoath-toolkit2.6.11-2.1ubuntu0.1UBUNTU-CVE-2024-47191 USN-7059-1
Ubuntu25.10oath-toolkitno fix listedUBUNTU-CVE-2024-47191
Red Hatceph_storage:6.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el8cpRHSA-2025:4238
Red Hatceph_storage:6.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:4238
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-329.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-329.el9cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:4664
Red Hatceph_storage:8.0::el9ceph, cephadm, librbd1 and 56 more2:19.2.0-124.el9cpRHSA-2025:3635
Red Hatceph_storage:8.0::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:3635
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-222.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9cephadm-ansible1:4.1.4-1.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:9775
openSUSETumbleweedoath-toolkit2.6.11.12-1.1openSUSE-SU-2024:14389-1
Azure Linux2oath-toolkit2.6.7-3AZL-50121
Azure Linux3oath-toolkit2.6.9-2AZL-50124

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important rather than Moderate due to its potential for full privilege escalation without requiring complex attack vectors. The flaw in the `pam_oath.so` module allows unprivileged users to manipulate file operations within their home directories to exploit symlink attacks, enabling them to overwrite critical system files, such as `/etc/shadow`, with root-level privileges. Since PAM stacks typically run as root, this exploitation does not involve race conditions or reliance on environmental factors, making the attack straightforward and highly impactful.

Ceph uses an affected oath-toolkit version. However, it does not use the affected methods and it is not vulnerable to this issue.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 6.1oath-toolkit-0:2.6.12-1.el8cpFixed 2025-04-28RHSA-2025:4238
Red Hat Ceph Storage 7.1oath-toolkit-0:2.6.12-1.el8cpFixed 2025-05-07RHSA-2025:4664
Red Hat Ceph Storage 8.0ceph-2:19.2.0-124.el9cpFixed 2025-04-07RHSA-2025:3635
Red Hat Ceph Storage 8.0oath-toolkit-0:2.6.12-1.el9cpFixed 2025-04-07RHSA-2025:3635
Red Hat Ceph Storage 8.1oath-toolkit-0:2.6.12-1.el9cpFixed 2025-06-26RHSA-2025:9775
Red Hat Ceph Storage 4oath-toolkitOut of support scope
Red Hat Ceph Storage 5oath-toolkitAffected
Red Hat Openshift Container Storage 4oath-toolkitAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-47191.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON