Lookup Service must not have the Web Distributed Authoring (WebDAV) servlet installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-256719SRG-APP-000141-WSR-000085VCLU-70-000014SV-256719r888748_rule2023-06-151
Description
WebDAV is an extension to the HTTP protocol that, when developed, was meant to allow users to create, change, and move documents on a server, typically a web server or web share. WebDAV is not widely used and has serious security concerns because it may allow clients to modify unauthorized files on the web server and must therefore be disabled. Tomcat uses the "org.apache.catalina.servlets.WebdavServlet" servlet to provide WebDAV services. Because the WebDAV service has been found to have an excessive number of vulnerabilities, this servlet must not be installed. Lookup Service does not configure WebDAV by default.
ℹ️ Check
At the command prompt, run the following command: # grep -n 'webdav' /usr/lib/vmware-lookupsvc/conf/web.xml If the command produces any output, this is a finding.
✔️ Fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/web.xml Find the <servlet-name>webdav</servlet-name> node and remove the entire parent <servlet> block. Find the <servlet-name>webdav</servlet-name> node and remove the entire parent <servlet-mapping> block. Restart the service with the following command: # vmon-cli --restart lookupsvc