Check: UBTU-24-400060
Canonical Ubuntu 24.04 LTS STIG:
UBTU-24-400060
(in version v1 r1)
Title
Ubuntu 24.04 LTS must electronically verify Personal Identity Verification (PIV) credentials. (Cat II impact)
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 Content
Verify Ubuntu 24.04 LTS electronically verifies PIV credentials via certificate status checking with the following command: $ sudo grep use_pkcs11_module /etc/pam_pkcs11/pam_pkcs11.conf | 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", or the line is commented out, this is a finding.
Fix Text
Configure Ubuntu 24.04 LTS to do certificate status checking for multifactor authentication. Modify all of the "cert_policy" lines in "/etc/pam_pkcs11/pam_pkcs11.conf" to include "ocsp_on".
Additional Identifiers
Rule ID: SV-270723r1066658_rule
Vulnerability ID: V-270723
Group Title: SRG-OS-000377-GPOS-00162
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001954 |
Electronically verify Personal Identity Verification-compliant credentials. |
Controls
Number | Title |
---|---|
IA-2(12) |
Acceptance of PIV Credentials |