14 - Restrict access to binaries directory - owner

Information

The $JETTY_HOME/bin/ directory contains executes that are part of the Jetty run-time. It is recommended that you create a user to specifically run Jetty. This user should have the minimum set of privileges needed to run Jetty. The ownership of this directory should then be assigned to the Jetty user. It is also recommended that the permission on $JETTY_HOME prevent read, write, and execute for the world (o-rwx) and prevent write access to the group (g-w).

Restricting access to these directories will prevent local users from maliciously or inadvertently affecting the integrity of Jetty processes.

Solution

Perform the following to restrict access to application log files:
1. Set the ownership of the $JETTY_BASE/logs to the dedicated Jetty user (e.g., jetty).
2. Remove read, write, and execute permissions for the world
# chown _admin: $JETTY_HOME/bin
# chmod g-w,o-rwx $JETTY_HOME/bin

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6

Plugin: Unix

Control ID: f0557fa5e8b2aca01aa24ac2f826ae58b160054d90d4f6be8e81bef1ce7c065a