5.1.5 Ensure Appropriate Permissions Are Enabled for System Wide Applications

Information

Applications in the System Applications Directory (/Applications) should be world executable since that is their reason to be on the system. They should not be world-writable and allow any process or user to alter them for other processes or users to then execute modified versions.

Rationale:

Unauthorized modifications of applications could lead to the execution of malicious code.

Impact:

Applications changed will no longer be world-writable.

Solution

Run the following command to change the permissions for each application that does not meet the requirements:

$ sudo /bin/chmod -R o-w /Applications/<applicationname>

example:

$ sudo /bin/chmod -R o-w /Applications/Google Chrome.app/

$ sudo /usr/bin/find /Applications -iname '*.app' -type d -perm -2 -ls

922602 0 drwxr-xrwx 3 seconduser admin 96 8 Aug 04:32 /Applications/Google Chrome copy.app

See Also

https://workbench.cisecurity.org/files/3569

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: ed12cdbca78865a25288655c02a6ad89daf8f32cad15510d4fae5c782951c090