TMA-F5-BIGIP-4.8
Ensure access SSH to CLI interface is restricted to needed IP addresses only
Description
To limit ssh access to trusted IPs only PASS requires sys sshd allow to be a list of addresses (not ALL). Audited against tmsh output with defaults shown: save the concatenated output of 'tmsh list auth password-policy all-properties', 'tmsh list auth source all-properties', 'tmsh list auth remote-user all-properties', 'tmsh list auth radius all-properties', 'tmsh list sys httpd all-properties', 'tmsh list sys sshd all-properties', 'tmsh list sys global-settings all-properties', 'tmsh list cli global-settings all-properties', 'tmsh list sys ntp', 'tmsh list sys snmp all-properties', 'tmsh list sys syslog' and 'tmsh list net self all-properties'. Patterns are scoped to the named top-level block.
How it is checked
Audit method: Configuration pattern
- Pattern
(?m)^sys sshd \{\n(?:[ \t]+[^\n]*\n)*?[ \t]+allow \{ (?:[0-9a-fA-F.:/\-]+ )+\}[ \t]*$
How it is fixed
Fix method: Guidance or infrastructure patch
tmsh modify sys sshd allow replace-all-with { 10.0.0.0/255.255.255.0 } tmsh save sys config # CIS guidance: 1-Log in to the Configuration utility. 2-Go to System > Platform. 3-For SSH IP Allow, select Specify Range and then enter the IP addresses or address ranges for the remote systems allowed to use SSH to communicate with this system.
Properties
- Operating systems
- Any
- Tags
- f5-bigipmanagement
- Reference
- CIS F5 Networks Benchmark v1.0.0 - 4.8 Ensure access SSH to CLI interface is restricted to needed IP addresses only
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
tmaegis scan --target f5-bigip