The PAM module pam_cap.so of libcap configuration...
Moderate severity
Unreviewed
Published
Feb 18, 2025
to the GitHub Advisory Database
•
Updated Feb 18, 2025
Description
Published by the National Vulnerability Database
Feb 18, 2025
Published to the GitHub Advisory Database
Feb 18, 2025
Last updated
Feb 18, 2025
The PAM module pam_cap.so of libcap configuration supports group names starting with “@”, during actual parsing, configurations not starting with “@” are incorrectly recognized as group names. This may result in nonintended users being granted an inherited capability set, potentially leading to security risks. Attackers can exploit this vulnerability to achieve local privilege escalation on systems where /etc/security/capability.conf is used to configure user inherited privileges by constructing specific usernames.
References