1.1 Ensure root does not have ownership of Websphere Liberty binaries

Information

Preventing the root user from owning files in the ${wlp.install.dir} directory prevents unauthorized commands or files from being run.

When directories or files are owned by the root user, administration of those files requires a user to log in as root or elevate their existing login to have root privileges. Performing operations as the root user could result in unauthorized commands that could alter files beyond the scope of WebSphere Liberty itself.

Solution

Set the ownership and group of ${wlp.install.dir} to something other than root :

chown -R <non-root user>:<non-root group> ${wlp.install.dir}

See Also

https://workbench.cisecurity.org/benchmarks/7724

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: 4e79f727dfb45e73a4bc066353b8f6d16516299f11ba3fdd12a2cfde6e5e7a83