Check: JUNI-ND-000490
Juniper Router NDM STIG:
JUNI-ND-000490
(in versions v2 r3 through v2 r2)
Title
The Juniper router must be configured with only one local account to be used as the account of last resort in the event the authentication server is unavailable. (Cat II impact)
Discussion
Authentication for administrative (privileged level) access to the device is required at all times. An account can be created on the device's local database for use when the authentication server is down or connectivity between the device and the authentication server is not operable. This account is referred to as the account of last resort since it is intended to be used as a last resort and when immediate administrative access is absolutely necessary. The account of last resort logon credentials must be stored in a sealed envelope and kept in a safe. The safe must be periodically audited to verify the envelope remains sealed. The signature of the auditor and the date of the audit should be added to the envelope as a record. Administrators should secure the credentials and disable the root account (if possible) when not needed for system administration functions.
Check Content
Review the router configuration to verify that a local account for last resort has been configured as shown in the following example: system { authentication-order radius; } login { class ENGINEER { permissions all; deny-commands "(file delete)"; deny-configuration "(system syslog)"; } user Last_Resort { uid 2000; class ENGINEER; authentication { encrypted-password "$1$CYrhql/I$v2ydLnac9EPdA1F/KvROT1"; ## SECRET-DATA } } Note: If there is no response from the authentication server, JUNOS will authenticate using a local account as last resort. It is recommended to not configure password at the end of the authentication order, as JUNOS will attempt to authenticate using a local account upon a rejection from the authentication server if password is in the authentication order. The last resort account is used when the authentication server is down. If the router is not configured with only one local account to be used as the account of last resort in the event the authentication server is unavailable, this is a finding.
Fix Text
Step 1: Configure a class with the necessary privileges to troubleshoot network outage and restore operations as shown in the following example: [edit system] set login class ENGINEER permissions all set login class ENGINEER deny-configuration "(system syslog)" set login class ENGINEER deny-commands “(file delete)” Step 2: Assign the account of last resort to the ENGINEER class. set user LAST_RESORT class ENGINEER authentication plain-text-password New password: xxxxxxxxxxxxx Step 3: Configure the authentication order to use the local account if the authentication server is not reachable as shown in the example below. [edit system] set authentication-order radius Note: If there is no response from the authentication server, JUNOS will authenticate using a local account as last resort. It is recommended to not configure password at the end of the authentication order, as JUNOS will attempt to authenticate using a local account upon a rejection from the authentication server if password is in the authentication order. The last resort account is used when the authentication server is down.
Additional Identifiers
Rule ID: SV-217321r879589_rule
Vulnerability ID: V-217321
Group Title: SRG-APP-000148-NDM-000346
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001358 |
The organization establishes privileged user accounts in accordance with a role-based access scheme that organizes allowed information system access and privileges into roles. |
CCI-002111 |
The organization identifies and selects the organization-defined information system account types of information system accounts which support organizational missions/business functions. |