| name | cis-ubuntu2004-v300-1-5-5 |
| description | Ensure Automatic Error Reporting is not enabled |
| category | cis-storage |
| version | 3.0.0 |
| author | cyberstrike-official |
| tags | ["cis","ubuntu","linux","ubuntu-20.04","apport","error-reporting","privacy"] |
| cis_id | 1.5.5 |
| cis_benchmark | CIS Ubuntu Linux 20.04 LTS Benchmark v3.0.0 |
| tech_stack | ["ubuntu","linux"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
1.5.5 Ensure Automatic Error Reporting is not enabled (Automated)
Profile
- Level 1 - Server
- Level 1 - Workstation
Description
The Apport Error Reporting Service automatically generates crash reports for debugging.
Rationale
Apport collects potentially sensitive data, such as core dumps, stack traces, and log files. They can contain passwords, credit card numbers, serial numbers, and other private material.
Audit Procedure
Command Line
Run the following command to verify that the Apport Error Reporting Service is not enabled:
Nothing should be returned.
Run the following command to verify that the apport service is not active:
Nothing should be returned.
Expected Result
No output should be returned for either command, confirming Apport is disabled and the service is not active.
Remediation
Command Line
Edit /etc/default/apport and add or edit the enabled parameter to equal 0:
enabled=0
Run the following commands to stop and mask the apport service:
Run the following command to remove the apport package:
Default Value
enabled=1
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|
| v8 | 4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software | | * | * |
| v7 | 9.2 Ensure Only Approved Ports, Protocols and Services Are Running | | * | * |