PHTN-30-000098 - The Photon operating system must not forward IPv4 or IPv6 source-routed packets.

Information

Source routing is an Internet Protocol mechanism that allows an IP packet to carry information, a list of addresses, that tells a router the path the packet must take. There is also an option to record the hops as the route is traversed.

The list of hops taken, the 'route record', provides the destination with a return path to the source. This allows the source (the sending host) to specify the route, loosely or strictly, ignoring the routing tables of some or all of the routers. It can allow a user to redirect network traffic for malicious purposes and should therefore be disabled.

Solution

At the command line, run the following command:

# for SETTING in $(/sbin/sysctl -aN --pattern 'net.ipv[4|6].conf.(all|default|eth.*).accept_source_route'); do sed -i -e '/^${SETTING}/d' /etc/sysctl.conf;echo $SETTING=0>>/etc/sysctl.conf; done
# /sbin/sysctl --load

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y24M01_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-256567r887375_rule, STIG-ID|PHTN-30-000098, Vuln-ID|V-256567

Plugin: Unix

Control ID: 4a8bbf6918f6c4833085e65ef08028375a2f765030a46797f8ff2fedc1149dee