RHEL-07-040610 - The Red Hat Enterprise Linux operating system must not forward Internet Protocol version 4 (IPv4) 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 IPv4 forwarding is enabled and the system is functioning as a router.

Solution

Set the system to the required kernel parameter 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.ipv4.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-204609r991589_rule, STIG-ID|RHEL-07-040610, STIG-Legacy|SV-86907, STIG-Legacy|V-72283, Vuln-ID|V-204609

Plugin: Unix

Control ID: 4a8d4ea220f8b9f7f0c86592e5ee1e9c79592c63e144f50da3eaae98dd40f221