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 "opensc-pcks11" package is installed on the system with the following command:
$ dpkg -l | grep opensc-pkcs11
ii opensc-pkcs11:amd64 0.25.0~rc1-1build2 amd64 Smart card utilities with support for PKCS#15 compatible cards
If the "opensc-pcks11" package is not installed, this is a finding.
Fix
Configure Ubuntu 24.04 LTS to accept PIV credentials.
Install the "opensc-pkcs11" package using the following command:
$ sudo apt install -y opensc-pkcs11