Check: AIX7-00-001019
IBM AIX 7.x STIG:
AIX7-00-001019
(in versions v3 r1 through v1 r1)
Title
AIX 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 using commands: # find / -type b -print | xargs ls -l > devicelistB # find / -type c -print | xargs ls -l > devicelistC Look at devicelistB and devicelistC files to check the permissions on the device files and directories above the subdirectories containing device files. If any of the device files or their parent directories are world-writable, excepting device files specifically intended to be world-writable, such as "/dev/null", this is a finding.
Fix Text
Remove the world-writable permission from the device file(s) using command: # chmod o-w <device file>
Additional Identifiers
Rule ID: SV-215184r991560_rule
Vulnerability ID: V-215184
Group Title: SRG-OS-000259-GPOS-00100
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001499 |
Limit privileges to change software resident within software libraries. |
Controls
Number | Title |
---|---|
CM-5(6) |
Limit Library Privileges |