ALMA-09-019930 - AlmaLinux OS 9 must not send Internet Control Message Protocol (ICMP) redirects.

Information

ICMP redirect messages are used by routers to inform hosts that a more direct route exists for a particular destination. These messages contain information from the system's route table possibly revealing portions of the network topology.

The ability to send ICMP redirects is only appropriate for systems acting as routers.

Solution

Configure AlmaLinux OS 9 to not allow interfaces to perform ICMP redirects.

Create a numbered *.conf file in /etc/sysctl.d/ with the following content:

net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.lo.send_redirects = 0
EOF

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sysctl -system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269256r1050138_rule, STIG-ID|ALMA-09-019930, Vuln-ID|V-269256

Plugin: Unix

Control ID: 59d98ac22e3deaee3b3c2fc603dfc5dbcb6a5b2149e656eb2be8380404fa16fe