DISA STIGS Viewer

The Juniper SRX Services Gateway must be configured with only one local user account to be used as the account of last resort.

Overview

Finding ID Version Rule ID IA Controls Severity
V-223215 JUSX-DM-000115 SV-223215r1043177_rule   Medium
Description
Without centralized management, credentials for some network devices will be forgotten, leading to delays in administration, which itself leads to delays in remediating production problems and in addressing compromises in a timely fashion. Maintaining local administrator accounts for daily usage on each network device without centralized management is not scalable or feasible. Local accounts are configured using the local password authentication method which does not meet the multifactor authentication criteria. The account of last resort is a group authenticator which does not provide nonrepudiation, thus must be used only rare cases where the device must be accessed using the local console and an individual authenticator is not possible, including when network access is not available.
STIG Date
Juniper SRX Services Gateway NDM Security Technical Implementation Guide 2024-12-20

Details

Check Text (C-24888r513332_chk)
Verify only a single local account has an authentication stanza and that the name is the account of last resort.

[edit]
show system login

user <account of last resort> {
uid 2001;
class <appropriate class name>;
authentication { <--- This stanza permits local login
encrypted-password "$sha2$22895$aVBPaRVa$o6xIqNSYg9D7yt8pI47etAjZV9uuwHrhAFT6R021HNsy"; ## SECRET-DATA
}
}

OR

user <template account> {
uid 2001;
class <appropriate class name>;
}

If accounts other than the account of last resort contain an authentication stanza, and that account is not documented, this is a finding.
Fix Text (F-24876r513333_fix)
If more than one account has an authentication stanza, and it is not documented, delete the authentication stanza (if the account is a template account) or the entire account (if the account is unauthorized or no longer needed).

To delete a template account:

[edit]
delete system login user <account name> authentication
commit

To delete an unneeded or unauthorized account:

[edit]
delete system login user <account name>