UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Juniper router must be configured to restrict traffic destined to itself.


Overview

Finding ID Version Rule ID IA Controls Severity
V-217019 JUNI-RT-000130 SV-217019r639663_rule High
Description
The Routing Engine handles traffic destined to the router—the key component used to build forwarding paths and is instrumental with all network management functions. Hence, any disruption or DoS attack to the Routing Engine can result in mission critical network outages.
STIG Date
Juniper Router RTR Security Technical Implementation Guide 2021-02-11

Details

Check Text ( C-18248r296925_chk )
Review the filter for the router’s receive path and verify that it will only allow specific management plane traffic from specific sources.

Verify filter has been configured as shown in the example below.

firewall {
family inet {



}
filter DESTINED_TO_RE {
term ALLOW_OSPF {
from {
protocol ospf;
}
then accept;
}
term ALLOW_BGP {
from {
source-address {
11.1.12.1/32;
11.1.23.3/32;
11.1.25.5/32;
}
protocol tcp;
port bgp;
}
}
term FILTER_TCP {
from {
destination-address {
11.1.12.0/24;
}
protocol tcp;
destination-port [ ssh tacacs telnet ];
}
then accept;
}
term FILTER_UDP {
from {
destination-address {
11.1.12.0/24;
}
protocol udp;
destination-port [ntp snmp ];
}
then accept;
}
term ICMP_ANY {
from {
protocol icmp;
}
then accept;
}
term DENY_BY_DEFAULT {
then {
log;
discard;
}
}
}
}

Verify that the input filter has been applied to loopback interface as shown in the example below.

interfaces {



lo0 {
unit 0 {
family inet {
filter {
input-list [ DESTINED_TO_RE CoPP_Policy ];
}
address 2.2.2.2/32;
}
}
}
}

If the router is not configured with a receive-path filter to restrict traffic destined to itself, this is a finding
Fix Text (F-18246r296926_fix)
Configure the router’s receive path filters to restrict traffic destined to the router.

Configure a filter to define what traffic should be received by the Routing Engine.

[edit firewall family inet]
set filter DESTINED_TO_RP term FILTER_TCP from destination-address 11.1.12.0/24
set filter DESTINED_TO_RP term FILTER_TCP from protocol tcp destination-port ssh
set filter DESTINED_TO_RP term FILTER_TCP from protocol tcp destination-port tacacs
set filter DESTINED_TO_RP term FILTER_TCP then accept
set filter DESTINED_TO_RP term FILTER_UDP from destination-address 11.1.12.0/24
set filter DESTINED_TO_RP term FILTER_UDP from protocol udp destination-port ntp
set filter DESTINED_TO_RP term FILTER_UDP from protocol udp destination-port snmp
set filter DESTINED_TO_RP term FILTER_UDP then accept
set filter DESTINED_TO_RP term ICMP_ANY from protocol icmp
set filter DESTINED_TO_RP term ICMP_ANY from protocol icmp then accept
set filter DESTINED_TO_RP term DENY_BY_DEFAULT then log discard

Apply the filter to the loopback interface.

[edit interfaces lo0 unit 0 family inet]
set filter input-list DESTINED_TO_RP.