Rule ID
SV-46153r1_rule
Version
V1R12
CCIs
Process core dumps contain the memory in use by the process when it crashed. Any data the process was handling may be contained in the core file, and it must be protected accordingly. If the centralized process core dump data directory is not group-owned by a system group, the core dumps contained in the directory may be subject to unauthorized access.
Check the defined directory for process core dumps. Procedure: # cat /proc/sys/kernel/core_pattern Check the group ownership of the directory # ls -lLd <core file directory> If the directory is not group-owned by root, bin, sys, or system this is a finding.
Change the group-owner of the core file directory. # chgrp root <core file directory>