The Juniper router must be configured with a master password that is used to generate encrypted keys for shared secrets.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-220142SRG-APP-000516-NDM-000317JUNI-ND-001460SV-220142r961863_rule2024-12-053
Description
By default, shared secrets in a Junos configuration only use an obfuscation algorithm ($9$ format), which is not very strong and can easily be decrypted. Strong encryption for configured secrets can be enabled by configuring a master password to be used as input to the password based key derivation function (PBKDF2) to generate an encryption key. The key is used as input to the Advanced Encryption Standard in Galois/Counter Mode (AES256-GCM).
ℹ️ Check
Verify that a master password has been configured as by entering the following command: show configuration system master-password The output will appear as follows: password-configured; Note: The master password is hidden from the configuration. If a master password has not been configured, this is a finding.
✔️ Fix
Configure the master password to be used to generate encrypted keys for shared secrets as shown in the example below. [edit] set system master-password plain-text-password Master password: xxxxxxxxxx Repeat master password: xxxxxxxxxx