RHEL-07-040830 - The Red Hat Enterprise Linux operating system must not forward IPv6 source-routed packets.

Information

Source-routed packets allow the source of the packet to suggest that routers forward the packet along a different path than configured on the router, which can be used to bypass network security measures. This requirement applies only to the forwarding of source-routed traffic, such as when IPv6 forwarding is enabled and the system is functioning as a router.

Solution

Set the system to the required kernel parameter, if IPv6 is enabled, by adding the following line to '/etc/sysctl.conf' or a configuration file in the /etc/sysctl.d/ directory (or modify the line to have the required value):

net.ipv6.conf.all.accept_source_route = 0

Issue the following command to make the changes take effect:

# sysctl --system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204630r991589_rule, STIG-ID|RHEL-07-040830, STIG-Legacy|SV-86943, STIG-Legacy|V-72319, Vuln-ID|V-204630

Plugin: Unix

Control ID: 7015bb3fd2a54db2a35ed49146b7d06158186ca966ea48c1cb055a15dc2c3c5f