The Juniper SRX Services Gateway must ensure access to start a UNIX-level shell is restricted to only the root account.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-223213 | SRG-APP-000142-NDM-000245 | JUSX-DM-000113 | SV-223213r1043177_rule | 2024-12-20 | 3 |
Description
Restricting the privilege to create a UNIX-level shell limits access to this powerful function. System administrators, regardless of their other permissions, will need to also know the root password for this access, thus limiting the possibility of malicious or accidental circumvention of security controls.
ℹ️ Check
Verify each login class is configured to deny access to the UNIX shell.
[edit]
show system login
If each configured login class is not configured to deny access to the UNIX shell, this is a finding.
✔️ Fix
For each login class, add the following command to the stanza.
[edit]
set system login class <class name> deny-commands "(start shell)"