UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The DHCP client must be disabled if not needed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-38679 RHEL-06-000292 SV-50480r4_rule Medium
Description
DHCP relies on trusting the local network. If the local network is not trusted, then it should not be used. However, the automatic configuration provided by DHCP is commonly used and the alternative, manual configuration, presents an unacceptable burden in many circumstances.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2019-09-25

Details

Check Text ( C-46242r4_chk )
IIf DHCP is required by the organization, this is Not Applicable.

For each interface [IFACE] on the system (e.g. eth0), verify that DHCP is not being used:

Note: This requirement does not apply to the local loopback interface.

# cat /etc/sysconfig/network-scripts/ifcfg-[IFACE] | grep -i “bootproto” | grep –v “#”

BOOTPROTO=none

If no output is returned this is a finding.
If BOOTPROTO is not set to ”none”, this is a finding.
Fix Text (F-43628r2_fix)
For each interface [IFACE] on the system (e.g. eth0), edit "/etc/sysconfig/network-scripts/ifcfg-[IFACE]" and make the following changes.

Correct the BOOTPROTO line to read:

BOOTPROTO=none


Add or correct the following lines, substituting the appropriate values based on your site's addressing scheme:

NETMASK=[local LAN netmask]
IPADDR=[assigned IP address]
GATEWAY=[local LAN default gateway]