UCF STIG Viewer Logo

The Cisco BGP switch must be configured to use its loopback address as the source address for iBGP peering sessions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-221112 CISC-RT-000580 SV-221112r622190_rule Low
Description
Using a loopback address as the source address offers a multitude of uses for security, access, management, and scalability of the BGP switches. It is easier to construct appropriate ingress filters for switch management plane traffic destined to the network management subnet since the source addresses will be from the range used for loopback interfaces instead of a larger range of addresses used for physical interfaces. Log information recorded by authentication and syslog servers will record the switch’s loopback address instead of the numerous physical interface addresses. When the loopback address is used as the source for eBGP peering, the BGP session will be harder to hijack since the source address to be used is not known globally, making it more difficult for a hacker to spoof an eBGP neighbor. By using traceroute, a hacker can easily determine the addresses for an eBGP speaker when the IP address of an external interface is used as the source address. The switches within the iBGP domain should also use loopback addresses as the source address when establishing BGP sessions.
STIG Date
Cisco NX-OS Switch RTR Security Technical Implementation Guide 2021-03-29

Details

Check Text ( C-22827r409825_chk )
Step 1: Review the switch configuration to verify that a loopback address has been configured.

interface loopback0
ip address 10.1.1.1/32

Step 2: Verify that the loopback interface is used as the source address for all iBGP sessions.

router bgp xx
router-id 10.1.1.1
address-family ipv4 unicast
neighbor 10.1.12.2 remote-as xx
password 3 7b07d1b3023056a9
update-source loopback0

If the switch does not use its loopback address as the source address for all iBGP sessions, this is a finding.
Fix Text (F-22816r409826_fix)
Configure the switch to use its loopback address as the source address for all iBGP peering.

SW1(config)# router bgp xx
SW1(config-router)# neighbor 10.1.12.2
SW1(config-router-neighbor)# update-source lo0
SW1(config-router-neighbor)# end