Check: AIX7-00-001031
IBM AIX 7.x STIG:
AIX7-00-001031
(in versions v2 r9 through v1 r1)
Title
All AIX public directories must be owned by root or an application account. (Cat II impact)
Discussion
If a public directory has the sticky bit set and is not owned by a privileged UID, unauthorized users may be able to modify files created by others. The only authorized public directories are those temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage, (e.g., /tmp), and for directories requiring global read/write access.
Check Content
Check the ownership of all public directories using command: # find / -type d -perm -1002 -exec ls -ld {} \; If any public directory is not owned by "root" or an application user, this is a finding.
Fix Text
Use the following command to change the owner to "root" for public directories: # chown root [public_dir]
Additional Identifiers
Rule ID: SV-215190r508663_rule
Vulnerability ID: V-215190
Group Title: SRG-OS-000480-GPOS-00227
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |