This is not the latest version of the STIG. This is provided for archival purposes. This control is not included in the latest version of the STIG. See the latest STIG.

OL 8 passwords must be prohibited from reuse for a minimum of five generations.

STIG ID: OL08-00-020220  |  SRG: SRG-OS-000077-GPOS-00045 |  Severity: low (CAT III)  |  CCI: CCI-000200 |  Vulnerability Id: V-248698

Vulnerability Discussion

Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. If the information system or application allows the user to reuse their password consecutively when that password has exceeded its defined lifetime, the end result is a password that is not changed per policy requirements.

OL 8 uses "pwquality" consecutively as a mechanism to enforce password complexity. This is set in both of the following:
/etc/pam.d/password-auth
/etc/pam.d/system-auth

Note that manual changes to the listed files may be overwritten by the "authselect" program.

Check

Verify the operating system prohibits password reuse for a minimum of five generations.

Check for the value of the "remember" argument in "/etc/pam.d/system-auth" and "/etc/pam.d/password-auth" with the following command:

$ sudo grep -i remember /etc/pam.d/system-auth /etc/pam.d/password-auth

password required pam_pwhistory.so use_authtok remember=5 retry=3

If the line containing "pam_pwhistory.so" does not have the "remember" module argument set or is commented out, or the value of the "remember" module argument is set to less than "5", this is a finding.

Fix

Configure OL 8 to prohibit password reuse for a minimum of five generations.

Add the following line in "/etc/pam.d/system-auth" and "/etc/pam.d/password-auth" (or modify the line to have the required value):

password required pam_pwhistory.so use_authtok remember=5 retry=3