2.1.3 Ensure Avahi Server is not enabled

Information

Avahi is a free zeroconf implementation, including a system for multicast DNS/DNS-SD service discovery. Avahi allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example, a user can plug a computer into a network and Avahi automatically finds printers to print to, files to look at and people to talk to, as well as network services running on the machine.

Rationale:

Automatic discovery of network services is not normally required for system functionality. It is recommended to disable the service to reduce the potential attack surface.

Solution

Run the following command to disable avahi-daemon :

# systemctl disable avahi-daemon
# systemctl stop avahi-daemon.socket
# systemctl disable avahi-daemon.socket

See Also

https://workbench.cisecurity.org/files/2449

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-4, CSCv6|9.1, CSCv7|9.2

Plugin: Unix

Control ID: 3b46220356e32f7d1c04d6713cf60fece988cfa1d959e8e1528049142fd02cb8