2.3 Ensure the WebDAV Modules Are Disabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The Apache 'mod_dav' and 'mod_dav_fs' modules support WebDAV ('Web-based Distributed Authoring and Versioning') functionality for Apache. WebDAV is an extension to the HTTP protocol which allows clients to create, move, and delete files and resources on the web server.

Rationale:

WebDAV is not widely used, and it has serious security concerns because it may allow clients to modify unauthorized files on the web server. Therefore, the WebDav modules 'mod_dav' and 'mod_dav_fs' should be disabled.

Solution

Perform either one of the following to disable the WebDAV modules:

1. For source builds with static modules, run the Apache './configure' script without including 'mod_dav' and 'mod_dav_fs' in the '--enable-modules=configure' script options.

$ cd $DOWNLOAD/httpd-2.2.22
$ ./configure

2. For dynamically loaded modules, comment out or remove the 'LoadModule' directive for the 'mod_dav' and 'mod_dav_fs' modules from the 'httpd.conf' file.

##LoadModule dav_module modules/mod_dav.so
##LoadModule dav_fs_module modules/mod_dav_fs.so

See Also

https://workbench.cisecurity.org/files/2020

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CSCv6|9.1

Plugin: Unix

Control ID: 0a72b8326c472d85edc8a6273ffff411d7a2200e577099f97a4e753a54d1bfaf