Lighttpd must disable directory browsing.

From VMware vRealize Automation 7.x Lighttpd Security Technical Implementation Guide

Part of SRG-APP-000266-WSR-000142

Associated with: CCI-001312

SV-99941r1_rule Lighttpd must disable directory browsing.

Vulnerability discussion

If not disabled, the directory listing feature can be used to facilitate a directory traversal exploit. Directory listing must be disabled.Lighttpd provides a configuration setting, dir-listing.activate, that must be set properly in order to globally disable directory listing.

Check content

At the command prompt, execute the following command: grep '^dir-listing.activate' /opt/vmware/etc/lighttpd/lighttpd.conf If the value for "dir-listing.activate" is not set to "disable", this is a finding.

Fix text

Navigate to and open /opt/vmware/etc/lighttpd/lighttpd.conf Configure the "lighttpd.conf" file with the following: dir-listing.activate = "disable"

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer