AIX device files and directories must only be writable by users with a system account or as configured by the vendor.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-215184 | SRG-OS-000259-GPOS-00100 | AIX7-00-001019 | SV-215184r991560_rule | 2024-08-16 | 3 |
Description |
---|
System device files in writable directories could be modified, removed, or used by an unprivileged user to control system hardware. |
ℹ️ Check |
---|
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 |
---|
Remove the world-writable permission from the device file(s) using command: # chmod o-w <device file> |