UCF STIG Viewer Logo

Device files and directories must only be writable by users with a system account or as configured by the vendor.


Overview

Finding ID Version Rule ID IA Controls Severity
V-924 GEN002280 M6 SV-38017r1_rule ECCD-1 ECCD-2 ECLP-1 Medium
Description
System device files in writable directories could be modified, removed, or used by an unprivileged user to control system hardware.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide Draft 2013-01-10

Details

Check Text ( C-37585r1_chk )
Open a terminal session and enter the following command to verify permissions.

find / -perm -2 -a \( -type b -o -type c \) > devicelist

Check the permissions on the directories above subdirectories in the devicelist file. If any of the device files or their parent directories are world-writable, except device files specifically intended to be world-writable (such as /dev/null), this is a finding.

Fix Text (F-32827r1_fix)
Open a terminal session and enter the following command to set the mode of the device file.

chmod 755