Check: GEN002280
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN002280
(in versions v1 r14 through v1 r11)
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
Find all device files existing anywhere on the system. Procedure: # find / -type b -print > devicelist # find / -type c -print >> devicelist Check the permissions on the directories above subdirectories containing device files. The following list of device files are intended to be world-writable and if present are not a finding. /dev/arp /dev/conslog /dev/crypto /dev/dtrace/dtrace /dev/dtrace/helper /dev/dtrace/provider/fasttrap /dev/fd/* /dev/kstat /dev/null /dev/poll /dev/pool /dev/ptmx /dev/sad/user /dev/tcp /dev/tcp6 /dev/ticlts /dev/ticots /dev/ticotsord /dev/tty /dev/udp /dev/udp6 /dev/zero /dev/zfs If any device file or their parent directory is world-writable and it is not intended to be world-writable, this is a finding.
Fix Text
Remove the world-writable permission from the device file(s). Procedure: # chmod o-w <device file> Document all changes.
Additional Identifiers
Rule ID: SV-924r3_rule
Vulnerability ID: V-924
Group Title: GEN002280
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 |