UCF STIG Viewer Logo

The system must be configured with a default gateway for IPv4 if the system uses IPv4, unless the system is a router.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4397 GEN005560 SV-30080r1_rule ECSC-1 Medium
Description
If a system has no default gateway defined, the system is at increased risk of man-in-the-middle, monitoring, and Denial of Service attacks.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-36669r1_chk )
Check the system for an IPv4 default route.
# netstat -r |grep default

If a default route is not defined, this is a finding.
Fix Text (F-32042r1_fix)
Edit /etc/rc.config.d/netconf and add configuration for a default route. For a default gateway of 192.168.3.1:

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=192.168.3.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

Restart the system for the setting to take effect.