UCF STIG Viewer Logo

The avahi service must be disabled.


Finding ID Version Rule ID IA Controls Severity
V-38618 RHEL-06-000246 SV-50419r2_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 2015-05-26


Check Text ( C-46177r1_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-43567r2_fix)
The "avahi-daemon" service can be disabled with the following commands:

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