Rule ID
SV-240246r879587_rule
Version
V1R2
CCIs
A symbolic link allows a file or a directory to be referenced using a symbolic name raising a potential hazard if symbolic linkage is made to a sensitive area. When web scripts are executed and symbolic links are allowed, the Lighttpd could be allowed to access locations on the server that are outside the scope of the hosted application document root or home directory.
At the command prompt, execute the following command: find /opt/vmware/share/htdocs -type l If any files are listed, this is a finding.
At the command prompt, enter the following commands: Note: Replace <file_name> for the name of any files that were returned. unlink <file_name> Repeat the commands for each file that was listed.