Check: GEN002280 M6
MACOSX 10.6:
GEN002280 M6
(in version v1 r3)
Title
Device files and directories must only be writable by users with a system account or as configured by the vendor. (Cat II impact)
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 <device file>
Additional Identifiers
Rule ID: SV-38017r1_rule
Vulnerability ID: V-924
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |