Skip to content

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 - 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 - OS Build Blueprint


[customizations.services]
disabled = ["abrtd"]

Remediation - Ansible

- name: Block Disable service abrtd
  block:

  - name: Disable service abrtd
    block: