2.1.2 Ensure HTTP WebDAV module is not installed

Warning! Audit Deprecated

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

View Next Audit Version

Information

The http_dav_module enables HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV) as defined by RFC 4918. This enables file-based operations on your web server, such as the ability to create, delete, change and move files on your server. Most modern architectures have replaced this functionality with cloud-based object storage, in which case the module should not be installed.

Rationale:

WebDAV functionality opens up an unnecessary path for exploiting your web server. Through misconfigurations of WebDAV operations, an attacker may be able to access and manipulate files on the server.

Solution

To remove the http_dav_module, recompile nginx from source without the --with-http_dav_module flag.

Default Value:

The HTTP WebDAV module is not installed by default when installing from source. It does come by default when installed using dnf.

See Also

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