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

From Juniper SRX SG NDM Security Technical Implementation Guide

Part of SRG-APP-000142-NDM-000245

Associated with: CCI-000382

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

Vulnerability 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 content

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 text

From the configuration mode, enter the following commands to disable root-login using SSH. [edit] set system services ssh root-login deny

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer