CVE-2024-47191

oath-toolkit: Local root exploit in a PAM module

Published Oct 9, 2024 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5784-1 oath-toolkit security update
Ubuntu USN Ubuntu USN USN-7059-1 OATH Toolkit vulnerability
Ubuntu USN Ubuntu USN USN-7059-2 OATH Toolkit vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00088}

epss

{'score': 0.00067}

Type Values Removed Values Added
CPEs cpe:/a:redhat:ceph_storage:8.1::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:ceph_storage:7.1::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:ceph_storage:6.1::el8
Type Values Removed Values Added
First Time appeared Redhat
Redhat ceph Storage
CPEs cpe:/a:redhat:ceph_storage:8.0::el9
Vendors & Products Redhat
Redhat ceph Storage
Type Values Removed Values Added
First Time appeared Nongnu
Nongnu oath Toolkit
CPEs cpe:2.3:a:nongnu:oath_toolkit:*:*:*:*:*:*:*:*
Vendors & Products Nongnu
Nongnu oath Toolkit
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was found in a PAM module, the oath-toolkit. The module gained a feature that allowed placing the OTP state file, called the usersfile, in the home directory of the to-be-authenticated user. The PAM module performed unsafe file operations in the users' home directories. Since PAM stacks typically run as root, this flaw allows a malicious user to jeopardize an environment. 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.
References
Type Values Removed Values Added
Description No description is available for this CVE. A vulnerability was found in a PAM module, the oath-toolkit. The module gained a feature that allowed placing the OTP state file, called the usersfile, in the home directory of the to-be-authenticated user. The PAM module performed unsafe file operations in the users' home directories. Since PAM stacks typically run as root, this flaw allows a malicious user to jeopardize an environment.
Type Values Removed Values Added
Description No description is available for this CVE.
Title oath-toolkit: Local root exploit in a PAM module
Weaknesses CWE-22
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

threat_severity

Important

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 18, 2024, 3:08 AM
Reserved
Sep 20, 2024, 12:00 AM
Status
Deferred
Published
Oct 9, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:56 AM
Severity
Important
Public date
Oct 4, 2024, 12:00 AM