TMA-F5-BIGIP-4.8
Ensure access SSH to CLI interface is restricted to needed IP addresses only
Descripción
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.
Cómo se verifica
Método de auditoría: Patrón de configuración
- Patrón
(?m)^sys sshd \{\n(?:[ \t]+[^\n]*\n)*?[ \t]+allow \{ (?:[0-9a-fA-F.:/\-]+ )+\}[ \t]*$
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
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.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- f5-bigipmanagement
- Referencia
- CIS F5 Networks Benchmark v1.0.0 - 4.8 Ensure access SSH to CLI interface is restricted to needed IP addresses only
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target f5-bigip