Check: VCLD-67-000023
VMware vSphere 6.7 VAMI-lighttpd STIG:
VCLD-67-000023
(in versions v1 r3 through v1 r2)
Title
VAMI must not have any symbolic links in the web content directory tree. (Cat II impact)
Discussion
A web server is designed to deliver content and execute scripts or applications on the request of a client or user. Containing user requests to files in the directory tree of the hosted web application and limiting the execution of scripts and applications guarantees that the user is not accessing information protected outside the application's realm. By checking that no symbolic links exist in the document root, the web server is protected from users jumping outside the hosted application directory tree and gaining access to the other directories, including the system root.
Check Content
Note: The below command must be run from a bash shell and not from a shell generated by the "appliance shell". Use the "chsh" command to change the shell for the account to "/bin/bash". At the command prompt, execute the following command: # find /opt/vmware/share/htdocs -type l If any files are listed, this is a finding.
Fix Text
At the command prompt, enter the following command: # unlink <file_name> Note: Replace <file_name> for the name of any files that were returned. Repeat the command for each file that was listed.
Additional Identifiers
Rule ID: SV-239731r879587_rule
Vulnerability ID: V-239731
Group Title: SRG-APP-000141-WSR-000087
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |