Ubuntu 22.04

Ubuntu 22.04 LTS must electronically verify personal identity verification (PIV) credentials

STIG ID: UBTU-22-612025 | SRG: SRG-OS-000377-GPOS-00162 | Severity: Medium | CCI: CCI-001954 | Vulnerability ID: V-260576

Description

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

C-64305r1069113_chk

Verify Ubuntu 22.04 LTS electronically verifies PIV credentials via certificate status ing by using the following command: $ sudo grep use_pkcs11_module /etc/pam_pkcs11/pam_pkcs11.conf | sudo awk '/pkcs11_module opensc {/,/}/' /etc/pam_pkcs11/pam_pkcs11.conf | grep cert_policy | grep ocsp_on cert_policy = ca,signature,ocsp_on; If every returned "cert_policy" line is not set to "ocsp_on", the line is commented out, or is missing, this is a finding.

Fix

F-64213r953540_fix

Configure Ubuntu 22.04 LTS to do certificate status checking for multifactor authentication. Add or modify all "cert_policy" lines in the "/etc/pam_pkcs11/pam_pkcs11.conf" file with the following: ocsp_on