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 - Kubernetes Patch
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
spec:
config:
ignition:
version: 3.1.0
Remediation - OS Build Blueprint
[customizations.services]
disabled = ["abrtd"]
Remediation - Puppet
include disable_abrtd
class disable_abrtd {
service {'abrtd':
enable => false,
ensure => 'stopped',
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" stop 'abrtd.service'
"$SYSTEMCTL_EXEC" disable 'abrtd.service'
Remediation - Ansible
- name: Block Disable service abrtd
block:
- name: Disable service abrtd
block: