UBTU-16-030530 - The Ubuntu 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

Configure the Ubuntu operating system to not forward Internet Protocol version 4 (IPv4) source-routed packets with the following command:

# sudo sysctl -w net.ipv4.conf.all.accept_source_route=0

If '0' is not the system's default value then add or update the following line in '/etc/sysctl.conf' or in the appropriate file under '/etc/sysctl.d':

net.ipv4.conf.all.accept_source_route=0

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_16-04_LTS_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-215146r610931_rule, STIG-ID|UBTU-16-030530, STIG-Legacy|SV-90553, STIG-Legacy|V-75873, Vuln-ID|V-215146

Plugin: Unix

Control ID: 6226cdf7a3c393510022b5d84d60743fa2ff5c37061c465edee9cb98e78b0e11