STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

RHEL 8 must disable mounting of cramfs.

DISA Rule

SV-230498r627750_rule

Vulnerability Number

V-230498

Group Title

SRG-OS-000095-GPOS-00049

Rule Version

RHEL-08-040025

Severity

CAT III

CCI(s)

Weight

10

Fix Recommendation

Configure the operating system to disable the ability to use the cramfs kernel module.

Add or update the following lines in the file "/etc/modprobe.d/blacklist.conf":

install cramfs /bin/true
blacklist cramfs

Reboot the system for the settings to take effect.

Check Contents

Verify the operating system disables the ability to load the cramfs kernel module.

$ sudo grep -ri cramfs /etc/modprobe.d/* | grep -i "/bin/true"

install cramfs /bin/true

If the command does not return any output, or the line is commented out, and use of the cramfs protocol is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Verify the operating system disables the ability to use the cramfs kernel module.

Check to see if the cramfs kernel module is disabled with the following command:

$ sudo grep -ri cramfs /etc/modprobe.d/* | grep -i "blacklist"

blacklist cramfs

If the command does not return any output or the output is not "blacklist cramfs", and use of the cramfs kernel module is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Vulnerability Number

V-230498

Documentable

False

Rule Version

RHEL-08-040025

Severity Override Guidance

Verify the operating system disables the ability to load the cramfs kernel module.

$ sudo grep -ri cramfs /etc/modprobe.d/* | grep -i "/bin/true"

install cramfs /bin/true

If the command does not return any output, or the line is commented out, and use of the cramfs protocol is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Verify the operating system disables the ability to use the cramfs kernel module.

Check to see if the cramfs kernel module is disabled with the following command:

$ sudo grep -ri cramfs /etc/modprobe.d/* | grep -i "blacklist"

blacklist cramfs

If the command does not return any output or the output is not "blacklist cramfs", and use of the cramfs kernel module is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.

Check Content Reference

M

Target Key

2921

Comments