Rule ID
SV-241711r879753_rule
Version
V1R2
CCIs
CCI-001813
A web server can be modified through parameter modification, patch installation, upgrades to the web server or modules, and security parameter changes. With each of these changes, there is the potential for an adverse effect such as a DoS, web server instability, or hosted application instability. To limit changes to the web server and limit exposure to any adverse effects from the changes, files such as the web server application files, libraries, and configuration files must have permissions and ownership set properly to only allow privileged users access.
At the command prompt, execute the following commands:
cd /usr/lib/vmware-casa/casa-webapp
ls -alR bin lib conf | grep -E '^-' | awk '$1 !~ /---$/ {print}'
If the command produces any output, this is a finding.At the command prompt, execute the following command: Note: Replace <file_name> for the name of the file that was returned. If the file was found in “/bin” or “/lib”, execute the following command: chmod 700 <file_name> If the file was found in “/conf”, execute the following command: chmod 600 <file_name> Repeat the command for each file that was returned