STIGQter STIGQter: STIG Summary: Juniper Router RTR Security Technical Implementation Guide Version: 2 Release: 2 Benchmark Date: 12 Feb 2021:

The Juniper router must be configured to have Internet Control Message Protocol (ICMP) mask reply messages disabled on all external interfaces.

DISA Rule

SV-217023r639663_rule

Vulnerability Number

V-217023

Group Title

SRG-NET-000362-RTR-000114

Rule Version

JUNI-RT-000180

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the filter protecting the routing engine to silently drop all ICMP Mask Request messages destined to the router.

[edit firewall family inet filter DESTINED_TO_RP]
set term DENY_MASK_REQUEST from protocol icmp icmp-type mask-request
insert term DENY_MASK_REQUEST before term ALLOW_ICMP

Check Contents

JUNOS has no interface command to not reply to an ICMP Mask Request message destined to the router. Consequently, to ensure that the router does not send any ICMP Mask Reply message in response to an ICMP Mask Request, include a term statement in the routing engine filter to silently drop any ICMP Masks Requests sent to it as shown in the example below.

firewall {
family inet {



}
filter DESTINED_TO_RE {
term ALLOW_XYZ {
from {
protocol xyz;
}
then accept;
}



}
term DENY_MASK_REQUEST {
from {
protocol icmp;
icmp-type mask-request;
}
then {
discard;
}
}
term ICMP_ANY {
from {
protocol icmp;
}
then accept;
}
term DENY_BY_DEFAULT {
then {
log;
discard;
}
}
}
}

If the router is not configured to silently drop all ICMP Mask Reply messages destined to the router, this is a finding.

Vulnerability Number

V-217023

Documentable

False

Rule Version

JUNI-RT-000180

Severity Override Guidance

JUNOS has no interface command to not reply to an ICMP Mask Request message destined to the router. Consequently, to ensure that the router does not send any ICMP Mask Reply message in response to an ICMP Mask Request, include a term statement in the routing engine filter to silently drop any ICMP Masks Requests sent to it as shown in the example below.

firewall {
family inet {



}
filter DESTINED_TO_RE {
term ALLOW_XYZ {
from {
protocol xyz;
}
then accept;
}



}
term DENY_MASK_REQUEST {
from {
protocol icmp;
icmp-type mask-request;
}
then {
discard;
}
}
term ICMP_ANY {
from {
protocol icmp;
}
then accept;
}
term DENY_BY_DEFAULT {
then {
log;
discard;
}
}
}
}

If the router is not configured to silently drop all ICMP Mask Reply messages destined to the router, this is a finding.

Check Content Reference

M

Target Key

4032

Comments