UCF STIG Viewer Logo

VAMI must not have any symbolic links in the web content directory tree.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239731 VCLD-67-000023 SV-239731r816811_rule Medium
Description
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.
STIG Date
VMware vSphere 6.7 VAMI-lighttpd Security Technical Implementation Guide 2022-01-03

Details

Check Text ( C-42964r816810_chk )
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 (F-42923r679302_fix)
At the command prompt, enter the following command:

# unlink

Note: Replace for the name of any files that were returned.

Repeat the command for each file that was listed.