For local accounts using password authentication (i.e., the root account and the account of last resort), the Juniper SRX Services Gateway must enforce a minimum 15-character password length.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-223217SRG-APP-000164-NDM-000252JUSX-DM-000128SV-223217r1015752_rule2024-12-203
Description
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. The shorter the password, the lower the number of possible combinations that need to be tested before the password is compromised. Use of more characters in a password helps to exponentially increase the time and/or resources required to compromise the password. Compliance with this requirement also prevents the system from being configured with default or no passwords.
ℹ️ Check
Verify the SRX password enforces this complexity requirement. In configuration mode, enter the following command. [edit] show system login password If the minimum password length for local accounts is not set to at least a 15-character length, this is a finding.
✔️ Fix
Set the global password option for all accounts created on the Juniper SRX. [edit] set system login password minimum-length 15 Note: This setting only enforces the minimum character password length for newly created passwords. The password of the existing account must be changed if it is not already complaint. To set or change the root user password, in configuration mode enter the following command. [edit] set system root-authentication plain-text-password When prompted, enter the password for the root user. Retype new password to confirm To set or change the account of last resort, in configuration mode enter the following command. [edit] set system login user <name of the account of last resort> plain-text-password When prompted, enter the password for the root user. Retype new password to confirm.