Check: JUEX-L2-000100
Juniper EX Series Switches Layer 2 Switch STIG:
JUEX-L2-000100
(in versions v1 r2 through v1 r1)
Title
The Juniper EX switch must be configured to enable STP Loop Protection on all non-designated STP switch ports. (Cat II impact)
Discussion
The Spanning Tree Protocol (STP) Loop Protection feature provides additional protection against STP loops. An STP loop is created when an STP blocking port in a redundant topology erroneously transitions to the forwarding state. In its operation, STP relies on continuous reception and transmission of BPDUs based on the port role. The designated port transmits BPDUs, and the non-designated port receives BPDUs. When one of the ports in a physically redundant topology no longer receives BPDUs, the STP conceives that the topology is loop free. Eventually, the blocking port from the alternate or backup port becomes a designated port and moves to a forwarding state. This situation creates a loop. The loop protection feature makes additional checks. If BPDUs are not received on a non-designated port and loop protection is enabled, that port is moved into the STP loop-inconsistent blocking state.
Check Content
Review the switch configuration to verify that STP Loop Protection is enabled on all non-designated STP switch ports. Verify STP Loop Protection for RSTP and VSTP. [edit protocols] rstp { interface <interface name> { bpdu-timeout-action { block; } } } vstp { interface <interface name> { bpdu-timeout-action { block; } } } Verify Loop Protection for all instances on an MSTP interface: [protocols] mstp { interface <interface name> { bpdu-timeout-action { block; } } } Note: Loop Protection and Root Protection are mutually exclusive and cannot be simultaneously configured on the same interface. If STP Loop Protection is not configured on non-designated STP ports, this is a finding.
Fix Text
Configure the switch to have STP Loop Protection enabled on all non-designated STP interfaces. RSTP or VSTP non-designated interface loop protection: set protocols rstp interface <interface name> bpdu-timeout-action block set protocols vstp interface <interface name> bpdu-timeout-action block All instances on an MSTP interface: set protocols mstp interface <interface name> bpdu-timeout-action block Note: Loop Protection and Root Protection are mutually exclusive and cannot be simultaneously configured on the same interface.
Additional Identifiers
Rule ID: SV-253957r843904_rule
Vulnerability ID: V-253957
Group Title: SRG-NET-000362-L2S-000023
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002355 |
The information system enforces access control decisions based on organization-defined security attributes that do not include the identity of the user or process acting on behalf of the user. |
CCI-002385 |
The information system protects against or limits the effects of organization-defined types of denial of service attacks by employing organization-defined security safeguards. |