TMA-IIS-1.7
Ensure' WebDav' feature is disabled
MoyenneNiveau 1Automatiséeiis
Description
WebDAV is an extension to the HTTP protocol which allows clients to create, move, and delete files and resources on the web server. Note: The WebDAV feature must be enabled for this functionality to be available in IIS. The Web-DAV-Publishing Windows feature must not be installed (ServerManager module). PowerShell 5.1; reads the registry (run elevated).
Méthode de vérification
Méthode d'audit: Commande shell
shell
$f = Get-WindowsFeature -Name Web-DAV-Publishing -ErrorAction Stop; if (-not $f.Installed) { 'compliant' } else { 'noncompliant' }- Sortie attendue
compliant
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Uninstall-WindowsFeature Web-DAV-Publishing
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- iisfeatures
- Référence
- CIS Microsoft IIS 10 Benchmark v1.2.1 - 1.7 Ensure' WebDav' feature is disabled
Vérifier cet hôte
Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.
shell
tmaegis scan --target iis