UCF STIG Viewer Logo

The avahi service must be disabled.


Finding ID Version Rule ID IA Controls Severity
V-218006 RHEL-06-000246 SV-218006r505923_rule Low
Because the Avahi daemon service keeps an open network port, it is subject to network attacks. Its functionality is convenient but is only appropriate if the local network can be trusted.
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03


Check Text ( C-19487r377033_chk )
To check that the "avahi-daemon" service is disabled in system boot configuration, run the following command:

# chkconfig "avahi-daemon" --list

Output should indicate the "avahi-daemon" service has either not been installed, or has been disabled at all runlevels, as shown in the example below:

# chkconfig "avahi-daemon" --list
"avahi-daemon" 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Run the following command to verify "avahi-daemon" is disabled through current runtime configuration:

# service avahi-daemon status

If the service is disabled the command will return the following output:

avahi-daemon is stopped

If the service is running, this is a finding.
Fix Text (F-19485r377034_fix)
The "avahi-daemon" service can be disabled with the following commands:

# chkconfig avahi-daemon off
# service avahi-daemon stop