1.133 SOL-11.1-050370

Information

The system must prevent local applications from generating source-routed packets.

GROUP ID: V-216394
RULE ID: SV-216394r959010

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.

Solution

The root role is required.

# pfedit /etc/ipf/ipf.conf

For Solaris 11, 11.1, 11.2, and 11.3 that use IP Filter dd rules to block outgoing source-routed packets, such as:

block out log quick all with opt lsrr
block out log quick all with opt ssrr

Reload the IPF rules.

# ipf -Fa -A -f /etc/ipf/ipf.conf

For Solaris 11.3 or newer that use Packet Filter remove or modify any rules that include "allow-opts".

Reload the Packet Filter rules:

# svcadm refresh firewall:default

See Also

https://workbench.cisecurity.org/benchmarks/23765