OL08-00-040025 - OL 8 must disable mounting of cramfs - install

Information

It is detrimental for operating systems to provide, or install by default, functionality exceeding requirements or mission objectives. These unnecessary capabilities or services are often overlooked and therefore may remain unsecured. They increase the risk to the platform by providing additional attack vectors.

Removing support for unneeded filesystem types reduces the local attack surface of the server.

Compressed ROM/RAM file system (or cramfs) is a read-only file system designed for simplicity and space-efficiency. It is mainly used in embedded and small-footprint systems.

Solution

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.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V1R2_STIG.zip

Item Details

References: CAT|III, CCI|CCI-000381, Rule-ID|SV-248833r780065_rule, STIG-ID|OL08-00-040025, Vuln-ID|V-248833

Plugin: Unix

Control ID: e486bfb40e43059c309247dc92a76eb77bc15b8098bf0876cf68b6f657833ab1