OL09-00-006026 - OL 9 must not forward IPv4 source-routed packets by default.

Information

Source-routed packets allow the source of the packet to suggest routers forward the packet along a different path than configured on the router, which can be used to bypass network security measures.

Accepting source-routed packets in the IPv4 protocol has few legitimate uses. It must be disabled unless it is absolutely required, such as when IPv4 forwarding is enabled and the system is legitimately functioning as a router.

Solution

Configure OL 9 to not forward IPv4 source-routed packets by default.

Add or edit the following line in a single system configuration file in the "/etc/sysctl.d/" directory:

net.ipv4.conf.default.accept_source_route = 0

Load settings from all system configuration files with the following command:

$ sudo sysctl --system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-271870r1092322_rule, STIG-ID|OL09-00-006026, Vuln-ID|V-271870

Plugin: Unix

Control ID: 46d19ecd9fc3d9e9afbb011763b378fdd9736828e59f598d157e18baf1fe24fb