UCF STIG Viewer Logo

Lighttpd must have MIME types for csh or sh shell programs disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-89261 VRAU-LI-000185 SV-99911r1_rule Medium
Description
Users must not be allowed to access the shell programs. Shell programs might execute shell escapes and could then perform unauthorized activities that could damage the security posture of the web server. A shell is a program that serves as the basic interface between the user and the operating system. In this regard, there are shells that are security risks in the context of a web server and shells that are unauthorized in the context of the Security Features User's Guide. Lighttpd must be configured to disable MIME types for csh or sh shell programs.
STIG Date
VMware vRealize Automation 7.x Lighttpd Security Technical Implementation Guide 2018-10-12

Details

Check Text ( C-88953r1_chk )
At the command prompt, execute the following command:

cat /opt/vmware/etc/lighttpd/lighttpd.conf | egrep '".sh"|".csh"'

If the command returns any value, this is a finding.
Fix Text (F-96003r1_fix)
Navigate to and open /opt/vmware/etc/lighttpd/lighttpd.conf

Delete any line(s) that return the value of csh or sh.