STIGUI
V-223212CAT II — Medium severitySV-223212r1043177_rule

The Juniper SRX Services Gateway must ensure SSH is disabled for root user logon to prevent remote access using the root account.

Rule version JUSX-DM-000112 · STIG v3 · 2024-12-20

Discussion

Since the identity of the root account is well-known for systems based upon Linux or UNIX and this account does not have a setting to limit access attempts, there is risk of a brute force attack on the password. Root access would give superuser access to an attacker. Preventing attackers from remotely accessing management functions using root account mitigates the risk that unauthorized individuals or processes may gain superuser access to information or privileges.

A separate account should be used for access and then the administrator can sudo to root when necessary.

Check

Use the CLI to view this setting for disabled for SSH.

[edit] show system services ssh root-login

If SSH is not disabled for the root user, this is a finding.

Fix

From the configuration mode, enter the following commands to disable root-login using SSH.

[edit] set system services ssh root-login deny

Identifiers

Group ID
V-223212
Group title
SRG-APP-000142-NDM-000245
Rule ID
SV-223212r1043177_rule
Check ID
C-24885r513323_chk
Fix ID
F-24873r513324_fix