STIGUI
V-220142CAT II — Medium severitySV-220142r961863_rule

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

Rule version JUNI-ND-001460 · STIG v3 · 2024-12-05

Discussion

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

Identifiers

Group ID
V-220142
Group title
SRG-APP-000516-NDM-000317
Rule ID
SV-220142r961863_rule
Check ID
C-21857r388903_chk
Fix ID
F-21849r388904_fix