Disable Automatic Bug Reporting Tool (abrtd)
An XCCDF Rule
Description
The Automatic Bug Reporting Tool (abrtd
) daemon collects
and reports crash data when an application crash is detected. Using a variety
of plugins, abrtd can email crash reports to system administrators, log crash
reports to files, or forward crash reports to a centralized issue tracking
system such as RHTSupport.
The abrtd
service can be disabled with the following command:
$ sudo systemctl mask --now abrtd.service
Rationale
Mishandling crash data could expose sensitive information about vulnerabilities in software executing on the system, as well as sensitive information from within a process's address space or registers.
- ID
- xccdf_org.ssgproject.content_rule_service_abrtd_disabled
- Severity
- Medium
- References
- Updated
Remediation - Puppet
include disable_abrtd
class disable_abrtd {
service {'abrtd':
enable => false,
ensure => 'stopped',
Remediation - OS Build Blueprint
[customizations.services]
masked = ["abrtd"]
Remediation - Ansible
- name: Disable Automatic Bug Reporting Tool (abrtd) - Collect systemd Services Present
in the System
ansible.builtin.command: systemctl -q list-unit-files --type service
register: service_exists
changed_when: false
failed_when: service_exists.rc not in [0, 1]