The SUSE operating system must configure the Linux Pluggable Authentication Modules (PAM) to prohibit the use of cached offline authentications after one day.

STIG ID: SLES-15-010500  |  SRG: SRG-OS-000383-GPOS-00166 |  Severity: medium |  CCI: CCI-002007 |  Vulnerability Id: V-234858 | 

Vulnerability Discussion

If cached authentication information is out of date, the validity of the authentication information may be questionable.

Check

If SSSD is not being used on the operating system, this is Not Applicable.

Verify that the SUSE operating system PAM prohibits the use of cached off line authentications after one day.

Check that cached off line authentications cannot be used after one day with the following command:

> sudo grep "offline_credentials_expiration" /etc/sssd/sssd.conf

offline_credentials_expiration = 1

If "offline_credentials_expiration" is not set to a value of "1", this is a finding.

Fix

Configure the SUSE operating system PAM to prohibit the use of cached authentications after one day.

Add or change the following line in "/etc/sssd/sssd.conf" just below the line "[pam]":

offline_credentials_expiration = 1