STIGUI
V-217052CAT II — Medium severitySV-217052r945862_rule

The Juniper BGP router must be configured to use a unique key for each autonomous system (AS) that it peers with.

Rule version JUNI-RT-000470 · STIG v3 · 2024-12-05

Discussion

If the same keys are used between eBGP neighbors, the chance of a hacker compromising any of the BGP sessions increases. It is possible that a malicious user exists in one autonomous system who would know the key used for the eBGP session. This user would then be able to hijack BGP sessions with other trusted neighbors.

Check

Review the BGP configuration to determine if it is peering with multiple autonomous systems.

Interview the ISSM and router administrator to determine if unique keys are being used.

protocols { bgp { group AS44 { type external; peer-as 44; neighbor x.x.x.x { authentication-key "$8$tBga0ORx7VsYoIEgJ"; ## SECRET-DATA } } group AS66 { type external; peer-as 66; neighbor x.x.x.x { authentication-key "$8$Q4953nCrlMLX-9A7V"; ## SECRET-DATA } } }

If unique keys are not being used, this is a finding.

Fix

Configure the router to use unique keys for each AS that it peers with as shown in the example below.

[edit protocols bgp] set group GROUP_AS66 authentication-key abc123 set group GROUP_AS44 authentication-key xyz123

Identifiers

Group ID
V-217052
Group title
SRG-NET-000230-RTR-000002
Rule ID
SV-217052r945862_rule
Check ID
C-18281r297024_chk
Fix ID
F-18279r297025_fix