TMAegis베타
fortiswitch 관련 규칙 더 보기

Fortinet FortiSwitch

TMA-FORTISWITCH-1.5.1.2

Allow only trusted hosts in SNMPv3

높음레벨 2자동fortiswitch

설명

Ensuring that only certain hosts are able to conduct SNMP GET or receive SNMP Trap. FAILs if any SNMPv3 user lists 0.0.0.0 in notify-hosts. Audited against FortiSwitchOS 'show full-configuration' output (standalone FortiSwitch, saved in full); patterns are scoped to the named 'config ... end' block, whose member lines are indented.

점검 방법

감사 방식: 구성 패턴

패턴
(?m)^config system snmp user\n(?:[ \t]+[^\n]*\n)*?[ \t]+set notify-hosts [^\n]*\b0\.0\.0\.0\b[^\n]*[ \t]*$

조치 방법

조치 방식: 가이드 또는 인프라 패치

config system snmp user edit "<user>" set notify-hosts <nms-ip> next end # CIS guidance: To remove 0.0.0.0 from trusted hosts in CLI: config system snmp user edit "snmp_test" unset notify-hosts end From GUI: 1. System > Config > SNMP > Users. 2. On the Users section click "Edit" on "snmp_test". 3. Remove 0.0.0.0 from "Notify Hosts" section.

속성

운영 체제
모두
태그
fortiswitchsnmp
참고 자료
CIS FortiSwitch Benchmark v1.0.0 - 1.5.1.2 Allow only trusted hosts in SNMPv3

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target fortiswitch --level 2