Ubuntu 24.04 LTS must encrypt all stored passwords with a FIPS 140-3 approved cryptographic hashing algorithm.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-270739 | UBTU-24-400400 | SV-270739r1067124_rule | Medium |
Description |
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. |
STIG | Date |
Canonical Ubuntu 24.04 LTS Security Technical Implementation Guide | 2025-05-16 |
Details
Check Text (C-74772r1067123_chk) |
Verify the shadow password suite configuration is set to encrypt passwords with a FIPS 140-3 approved cryptographic hashing algorithm with the following command: $ grep -i ENCRYPT_METHOD /etc/login.defs ENCRYPT_METHOD SHA512 If "ENCRYPT_METHOD" does not equal SHA512 or greater, this is a finding. |
Fix Text (F-74673r1066705_fix) |
Configure Ubuntu 24.04 LTS to encrypt all stored passwords. Edit/modify the following line in the "/etc/login.defs" file and set "ENCRYPT_METHOD" to SHA512: ENCRYPT_METHOD SHA512 |