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

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN002280

Associated with IA controls: ECCD-2, ECCD-1, ECLP-1

Associated with: CCI-000225

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

Vulnerability discussion

System device files in writable directories could be modified, removed, or used by an unprivileged user to control system hardware.

Check content

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

Open a terminal session and enter the following command to set the mode of the device file. chmod 755

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer