mediumfilesystemverified ✓rollback-safe
Ensure nosuid option on /var/tmp partition
mount-var-tmp-nosuid · RHEL ≥ 8 · 1 impl
Description
The nosuid mount option prevents setuid/setgid bits from being honored on /var/tmp. This prevents privilege escalation.
Rationale
Setuid programs on /var/tmp could allow privilege escalation when executed by other users.
Check → Remediate
Checkmount_option
- mount_point:
- /var/tmp
- options:
- nosuid
Remediatemount_option_set
- mount_point:
- /var/tmp
- options:
- nosuid
Framework references
CIS
rhel8 1.1.2.5.3rhel9 1.1.2.5.3rhel10 1.1.2.5.3
STIG
V-230521V-257878V-281247
NIST 800-53
CM-6AC-3AC-6
Live verification
rhel10:checkrhel8:checkrhel9:check
#mount#var-tmp#hardening