Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-81683 | AOSX-13-001110 | SV-96397r1_rule | Medium |
Description |
---|
All public directories must be owned by "root", the local admin user, or an application account. Directory owners have permission to delete any files contained in that directory, even if the files are owned by other user accounts. By setting the owner to an administrator or application account, regular users will not be permitted to delete each other's files. |
STIG | Date |
---|---|
Apple OS X 10.13 Security Technical Implementation Guide | 2020-05-29 |
Check Text ( C-81459r1_chk ) |
---|
To display all directories that are writable by all and not owned by "root", run the following command: /usr/bin/sudo find / -type d -perm +o+w -not -uid 0 If anything is returned, and those directories are not owned by root or application account, this is a finding. |
Fix Text (F-88531r1_fix) |
---|
To change the ownership of any finding, run the following command: /usr/bin/sudo find / -type d -perm +o+w -not -uid 0 -exec chown root {} \; |