OL07-00-010200 - The Oracle Linux operating system must be configured so that the PAM system service is configured to store only encrypted representations of passwords.

Information

Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised. Passwords encrypted with a weak algorithm are no more protected than if they are kept in plain text.

Solution

Configure the operating system to store only SHA512 encrypted representations of passwords.

Add the following line in '/etc/pam.d/system-auth':
password sufficient pam_unix.so sha512 shadow try_first_pass use_authtok

Add the following line in '/etc/pam.d/password-auth':
password sufficient pam_unix.so sha512 shadow try_first_pass use_authtok

Note: Per requirement OL07-00-010199, Oracle Linux 7 must be configured to not overwrite custom authentication configuration settings while using the authconfig utility; otherwise, manual changes to the listed files will be overwritten whenever the authconfig utility is used.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_7_V3R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|II, CCI|CCI-000196, CCI|CCI-004062, Rule-ID|SV-221677r1015174_rule, STIG-ID|OL07-00-010200, STIG-Legacy|SV-108199, STIG-Legacy|V-99095, Vuln-ID|V-221677

Plugin: Unix

Control ID: c04482f6f93b390e2a0dbfb874f129384f77c4e115c850282eaa4d73c0e4cbdc