Amazon Linux 2023 must have the openssl-pkcs11 package installed.

STIG ID: AZLX-23-001130  |  SRG: SRG-OS-000375-GPOS-00160 |  Severity: medium (CAT II)  |  CCI: CCI-004046,CCI-001953,CCI-001954 |  Vulnerability Id: V-274037

Vulnerability Discussion

Without the use of multifactor authentication, the ease of access to privileged functions is greatly increased. Multifactor authentication requires using two or more factors to achieve authentication. A privileged account is defined as an information system account with authorizations of a privileged user. The DOD Common Access Card (CAC) with DOD-approved PKI is an example of multifactor authentication.

Satisfies: SRG-OS-000375-GPOS-00160, SRG-OS-000376-GPOS-00161, SRG-OS-000377-GPOS-00162

Check

Verify Amazon Linux 2023 has the openssl-pkcs11 package installed with the following command:

$ dnf list --installed openssl-pkcs11
Installed Packages
openssl-pkcs11.x86_64 0.4.12-3.amzn2023.0.1 @System

If the "openssl-pkcs11" package is not installed, this is a finding.

Fix

Configure Amazon Linux 2023 to have the openssl-pkcs11 package installed with the following command:

$ sudo dnf install -y openssl-pkcs11