JUEX-RT-000730 - The Juniper perimeter router must be configured to only allow incoming communications from authorized sources to be routed to authorized destinations.

Information

Unrestricted traffic may contain malicious traffic that poses a threat to an enclave or to other connected networks. Additionally, unrestricted traffic may transit a network, which uses bandwidth and other resources.

Traffic can be restricted directly by stateless firewall filter, or filter based forwarding. Filter based forwarding is a technique used to make routing decisions based on a number of different criteria other than just the destination network, including source or destination network, source or destination address, source or destination port, protocol, packet size, and packet classification. This overrides the router's normal routing procedures used to control the specific paths of network traffic. It is normally used for traffic engineering but can also be used to meet security requirements; for example, traffic that is not allowed can be routed to the discard interface. Filter based forwarding can also be used to control which prefixes appear in the routing table.

This requirement is intended to allow network administrators the flexibility to use whatever technique is most effective.

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

Solution

This requirement is not applicable for the DODIN Backbone.

Configure the router to allow only incoming communications from authorized sources to be routed to authorized destinations.

set policy-options prefix-list inside-addresses-ipv4 192.0.2.0/25
set policy-options prefix-list inside-addresses-ipv4 192.0.2.130/32
set policy-options prefix-list inside-addresses-ipv6 2001:db8:1::/64
set policy-options prefix-list inside-addresses-ipv6 2001:db8:a1::/64

set firewall family inet filter authorized-outbound-ipv4 <additional terms>
set firewall family inet filter authorized-outbound-ipv4 term permitted-source-addresses from source-prefix-list inside-addresses-ipv4
set firewall family inet filter authorized-outbound-ipv4 term permitted-source-addresses then accept
set firewall family inet filter authorized-outbound-ipv4 term default-deny then log
set firewall family inet filter authorized-outbound-ipv4 term default-deny then syslog
set firewall family inet filter authorized-outbound-ipv4 term default-deny then discard

set firewall family inet filter authorized-inbound-ipv4 <additional terms>
set firewall family inet filter authorized-inbound-ipv4 term permitted-destination-addresses from destination-prefix-list inside-addresses-ipv4
set firewall family inet filter authorized-inbound-ipv4 term permitted-destination-addresses then accept
set firewall family inet filter authorized-inbound-ipv4 term default-deny then log
set firewall family inet filter authorized-inbound-ipv4 term default-deny then syslog
set firewall family inet filter authorized-inbound-ipv4 term default-deny then discard

set firewall family inet6 filter authorized-outbound-ipv6 <additional terms>
set firewall family inet6 filter authorized-outbound-ipv6 term permitted-source-addresses from source-prefix-list inside-addresses-ipv6
set firewall family inet6 filter authorized-outbound-ipv6 term permitted-source-addresses then accept
set firewall family inet6 filter authorized-outbound-ipv6 term default-deny then log
set firewall family inet6 filter authorized-outbound-ipv6 term default-deny then syslog
set firewall family inet6 filter authorized-outbound-ipv6 term default-deny then discard

set firewall family inet6 filter authorized-inbound-ipv6 <additional terms>
set firewall family inet6 filter authorized-inbound-ipv6 term permitted-destination-addresses from destination-prefix-list inside-addresses-ipv6
set firewall family inet6 filter authorized-inbound-ipv6 term permitted-destination-addresses then accept
set firewall family inet6 filter authorized-inbound-ipv6 term default-deny then log
set firewall family inet6 filter authorized-inbound-ipv6 term default-deny then syslog
set firewall family inet6 filter authorized-inbound-ipv6 term default-deny then discard

set interfaces <external interface> unit <number> family inet filter input authorized-inbound-ipv4
set interfaces <external interface> unit <number> family inet6 filter input authorized-inbound-ipv6

set interfaces <internal interface> unit <number> family inet filter input authorized-outbound-ipv4
set interfaces <internal interface> unit <number> family inet6 filter input authorized-outbound-ipv6

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(11), CAT|II, CCI|CCI-002403, Rule-ID|SV-254045r844168_rule, STIG-ID|JUEX-RT-000730, Vuln-ID|V-254045

Plugin: Juniper

Control ID: d834e6f191c3160afe774753caab251ba024624f1da1a597323d1dfc02077e9c