UCF STIG Viewer Logo

The macOS system must not accept source-routed IPv4 packets.


Overview

Finding ID Version Rule ID IA Controls Severity
V-214909 AOSX-13-001195 SV-214909r609363_rule Medium
Description
A source-routed packet attempts to specify the network path the packet should take. If the system is not configured to block the incoming source-routed packets, an attacker can redirect the system's network traffic. Configuring the system to drop incoming source-routed IPv4 packets mitigates this risk.
STIG Date
Apple OS X 10.13 Security Technical Implementation Guide 2021-11-19

Details

Check Text ( C-16109r397299_chk )
To check if the system is configured to accept "source-routed" packets, run the following command:

sysctl net.inet.ip.accept_sourceroute

If the value is not "0", this is a finding.
Fix Text (F-16107r397300_fix)
To configure the system to not accept "source-routed" packets, add the following line to "/etc/sysctl.conf", creating the file if necessary:

net.inet.ip.accept_sourceroute=0