STIGQter STIGQter: STIG Summary: Juniper EX Series Switches Router Security Technical Implementation Guide Version: 2 Release: 1 Benchmark Date: 24 Jul 2024:

The Juniper router must be configured to implement message authentication for all control plane protocols.

DISA Rule

SV-254025r945861_rule

Vulnerability Number

V-254025

Group Title

SRG-NET-000230-RTR-000001

Rule Version

JUEX-RT-000530

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure authentication to be enabled for every protocol that affects the routing or forwarding tables.

set security ipsec security-association <sa name> manual direction bidirectional protocol esp
set security ipsec security-association <sa name> manual direction bidirectional spi <SPI value>
set security ipsec security-association <sa name> manual direction bidirectional authentication algorithm hmac-sha-256-128
set security ipsec security-association <sa name> manual direction bidirectional authentication key ascii-text <PSK value>

set protocols bgp group <group name> type external
set protocols bgp group <group name> local-as <local AS number>
set protocols bgp group <group name> neighbor <neighbor 1 address> authentication-key <PSK value>
set protocols bgp group <group name> neighbor <neighbor 1 address> ipsec-sa <SA name>

set protocols ospf area 0.0.0.1 interface <interface name>.<logical unit> authentication md5 1 key <PSK value>
set protocols ospf area 0.0.0.1 interface <interface name>.<logical unit> interface-type p2p
set protocols ospf area 0.0.0.1 interface <interface name>.<logical unit> ipsec-sa <SA name>

Check Contents

Review the router configuration.

For every protocol that affects the routing or forwarding tables (where information is exchanged between neighbors), verify that neighbor router authentication is enabled.

[edit security ipsec]
security-association <sa name> {
manual {
direction bidirectional {
protocol esp;
spi <SPI value>;
authentication {
algorithm hmac-sha-256-128;
key ascii-text "$8$aes256-gcm$hmac-sha2-256$100$SpJ/ERRFEsc$y1Wqf1zM3d3xI+ZVB9WzTw$lgM06LJZN3FcVbTaSkDz4g$bZVi57MkUWg"; ## SECRET-DATA
}
}
}
}
[edit protocols]
bgp {
group <group name> {
type external;
local-as <local AS number>;
neighbor <neighbor 1 address> {
authentication-key "$8$aes256-gcm$hmac-sha2-256$100$cFQ99Gy83Og$SCMVXvnfna7/cZqH9fCECQ$bCVokm+es94xFJONmbKFNA$4561Uc/r"; ## SECRET-DATA
}
neighbor <neighbor 2 address> {
ipsec-sa <SA name>;
}
}
}

Note: Juniper BGP routers support either an MD5 key, rotating MD5 keys, or an IPsec security association (SA). Verify the PSK for each MD5 and SA is different between all neighbors.
ospf {
area <area number> {
interface <interface name>.<logical unit> {
authentication {
md5 1 key "$8$aes256-gcm$hmac-sha2-256$100$hvt9Fpk6EEU$I2FKFJNrdKHpp1xesMB0aA$l9BsHxOYO4+B8f7erRj8Hw$A9PYzx53Ius"; ## SECRET-DATA
}
}
interface <interface name>.<logical unit> {
interface-type p2p;
ipsec-sa <SA name>;
}
}
}
Note: Juniper OSPF routers support either an MD5 key or an IPsec SA.
ospf3 {
area <area number> {
interface <interface name>.<logical unit> {
ipsec-sa <SA name>;
}
}
}
Note: Juniper OSPFv3 routers only support IPsec SA.

If authentication is not enabled, this is a finding.

Vulnerability Number

V-254025

Documentable

False

Rule Version

JUEX-RT-000530

Severity Override Guidance

Review the router configuration.

For every protocol that affects the routing or forwarding tables (where information is exchanged between neighbors), verify that neighbor router authentication is enabled.

[edit security ipsec]
security-association <sa name> {
manual {
direction bidirectional {
protocol esp;
spi <SPI value>;
authentication {
algorithm hmac-sha-256-128;
key ascii-text "$8$aes256-gcm$hmac-sha2-256$100$SpJ/ERRFEsc$y1Wqf1zM3d3xI+ZVB9WzTw$lgM06LJZN3FcVbTaSkDz4g$bZVi57MkUWg"; ## SECRET-DATA
}
}
}
}
[edit protocols]
bgp {
group <group name> {
type external;
local-as <local AS number>;
neighbor <neighbor 1 address> {
authentication-key "$8$aes256-gcm$hmac-sha2-256$100$cFQ99Gy83Og$SCMVXvnfna7/cZqH9fCECQ$bCVokm+es94xFJONmbKFNA$4561Uc/r"; ## SECRET-DATA
}
neighbor <neighbor 2 address> {
ipsec-sa <SA name>;
}
}
}

Note: Juniper BGP routers support either an MD5 key, rotating MD5 keys, or an IPsec security association (SA). Verify the PSK for each MD5 and SA is different between all neighbors.
ospf {
area <area number> {
interface <interface name>.<logical unit> {
authentication {
md5 1 key "$8$aes256-gcm$hmac-sha2-256$100$hvt9Fpk6EEU$I2FKFJNrdKHpp1xesMB0aA$l9BsHxOYO4+B8f7erRj8Hw$A9PYzx53Ius"; ## SECRET-DATA
}
}
interface <interface name>.<logical unit> {
interface-type p2p;
ipsec-sa <SA name>;
}
}
}
Note: Juniper OSPF routers support either an MD5 key or an IPsec SA.
ospf3 {
area <area number> {
interface <interface name>.<logical unit> {
ipsec-sa <SA name>;
}
}
}
Note: Juniper OSPFv3 routers only support IPsec SA.

If authentication is not enabled, this is a finding.

Check Content Reference

M

Target Key

5479