Vulnerability Discussion
The use of PIV credentials facilitates standardization and reduces the risk of unauthorized access.
DOD has mandated the use of the common access card (CAC) to support identity management and personal authentication for systems covered under Homeland Security Presidential Directive (HSPD) 12, as well as making the CAC a primary component of layered protection for national security systems.
Check
Verify the "libpam-pcks11" package is installed on the system with the following command:
$ dpkg -l | grep libpam-pkcs11
ii libpam-pkcs11 0.6.12-2build3 amd64 Fully featured PAM module for using PKCS#11 smart cards
If the "libpam-pcks11" package is not installed, this is a finding.
Fix
Configure Ubuntu 24.04 LTS to accept PIV credentials that are managed through the PAM framework.
Install the "libpam-pkcs11" package using the following command:
$ sudo apt install -y libpam-pkcs11