Skip to content

Add nosuid Option to Removable Media Partitions

An XCCDF Rule

Description

The nosuid mount option prevents set-user-identifier (SUID) and set-group-identifier (SGID) permissions from taking effect. These permissions allow users to execute binaries with the same permissions as the owner and group of the file respectively. Users should not be allowed to introduce SUID and SGID files into the system via partitions mounted from removeable media. Add the nosuid option to the list of Options in the systemd.mount unit that controls mounting of any removable media partitions.

Rationale

The presence of SUID and SGID executables should be tightly controlled. Allowing users to introduce SUID or SGID binaries from partitions mounted off of removable media would allow them to introduce their own highly-privileged programs.

ID
xccdf_org.ssgproject.content_rule_mount_option_nosuid_removable_partitions
Severity
Medium
References
Updated