JUEX-RT-000050 - The Juniper BGP router must be configured to reject outbound route advertisements for any prefixes that do not belong to any customers or the local autonomous system (AS).

Information

Advertisement of routes by an AS for networks that do not belong to any of its customers pulls traffic away from the authorized network. This causes a denial of service (DoS) on the network that allocated the block of addresses and may cause a DoS on the network that is inadvertently advertising it as the originator. It is also possible that a misconfigured or compromised router within the GIG IP core could redistribute IGP routes into BGP, thereby leaking internal routes.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Configure all eBGP routers to filter outbound route advertisements for prefixes that are not allocated to or belong to any customer or the local AS.

set policy-options route-filter-list customer1-routes <customer route 1/mask> exact
set policy-options route-filter-list customer1-routes <customer route 2/mask> exact
set policy-options route-filter-list customer1-routes-ipv6 <customer route 1/prefix> exact
set policy-options route-filter-list customer1-routes-ipv6 <customer route 2/prefix> exact
<additional route-filter-list for other customers>

set policy-options policy-statement bgp-advertise-cust-routes term 1 from route-filter-list customer1-routes
set policy-options policy-statement bgp-advertise-cust-routes term 1 from route-filter-list customer1-routes-ipv6
set policy-options policy-statement bgp-advertise-cust-routes term 1 then accept
<additional terms for other customers>
set policy-options policy-statement bgp-advertise-cust-routes term default then reject

set protocols bgp group eBGP export bgp-advertise-cust-routes
set protocols bgp group eBGP neighbor <address> export bgp-advertise-cust-routes
set protocols bgp export bgp-advertise-cust-routes

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Juniper_EX_Switches_Y24M07_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-4, CAT|II, CCI|CCI-001368, Rule-ID|SV-253977r843964_rule, STIG-ID|JUEX-RT-000050, Vuln-ID|V-253977

Plugin: Juniper

Control ID: 25bfc6f36684c2eddbf3a8bc274c00cd8d38ead2e7b09a821ff45f44ecfef0c2