TMAegis
Weitere Regeln für juniper-junos

Juniper Junos

TMA-JUNIPER-JUNOS-5.4

Ensure “Default Restrict” is set in all client lists

HochStufe 1Automatisiertjuniper-junos

Beschreibung

Limit clients to access SNMP. Even when limited to read only access, SNMP can provide an attacker with a wealth of information about your router and network topology. To limit the potential for attacks against your routers SNMP service your client lists should be configured to deny any ... Passes when no client-list exists; otherwise requires 'default restrict'. Audited against the output of 'show configuration | display set | no-more' (set format, not the curly-brace hierarchy).

So wird geprüft

Prüfmethode: Konfigurationsmuster

Muster
(?m)\A(?:(?:[ \t]*(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n]| (?:$|[^s\n]|s(?:$|[^n\n]|n(?:$|[^m\n]|m(?:$|[^p\n]|p(?:$|[^ \n]| (?:$|[^c\n]|c(?:$|[^l\n]|l(?:$|[^i\n]|i(?:$|[^e\n]|e(?:$|[^n\n]|n(?:$|[^t\n]|t(?:$|[^\-\n]|-(?:$|[^l\n]|l(?:$|[^i\n]|i(?:$|[^s\n]|s(?:$|[^t\n]|t(?:$|[^ \n])))))))))))))))))))))[^\n]*|[ \t]*set snmp client-list (?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*))))))))[ \t]+)*(?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*)))))))))?)\n)*[ \t]*set snmp client-list (?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*))))))))[ \t]+)*(?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*)))))))))?(?:\n(?:(?:[ \t]*(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n]| (?:$|[^s\n]|s(?:$|[^n\n]|n(?:$|[^m\n]|m(?:$|[^p\n]|p(?:$|[^ \n]| (?:$|[^c\n]|c(?:$|[^l\n]|l(?:$|[^i\n]|i(?:$|[^e\n]|e(?:$|[^n\n]|n(?:$|[^t\n]|t(?:$|[^\-\n]|-(?:$|[^l\n]|l(?:$|[^i\n]|i(?:$|[^s\n]|s(?:$|[^t\n]|t(?:$|[^ \n])))))))))))))))))))))[^\n]*|[ \t]*set snmp client-list (?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*))))))))[ \t]+)*(?:(?:[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^f \t\n][^ \t\n]*|f(?:|[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^l \t\n][^ \t\n]*|l(?:|[^t \t\n][^ \t\n]*|t(?:[^ \t\n][^ \t\n]*)))))))))?)))*\n?\z

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

! To configure a client list issue the following command under the hierarchy; set snmp client-list <client list name> default restrict Note - Client-lists may also be defined directly under the hierarchy for use within the specified community with the same effect, but for ease of management and audit, the first method is preferred.

Eigenschaften

Betriebssysteme
Beliebig
Tags
juniper-junosnetworkmanagement-plane
Referenz
CIS Juniper OS Benchmark v2.1.0 - 5.4 Ensure “Default Restrict” is set in all client lists

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target juniper-junos