TMAegis
Thêm quy tắc cho iis

TMA-IIS-1.7

Ensure' WebDav' feature is disabled

Trung bìnhCấp 1Tự độngiis

Mô tả

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).

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
$f = Get-WindowsFeature -Name Web-DAV-Publishing -ErrorAction Stop; if (-not $f.Installed) { 'compliant' } else { 'noncompliant' }
Đầu ra mong đợi
compliant

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Uninstall-WindowsFeature Web-DAV-Publishing

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
iisfeatures
Tham chiếu
CIS Microsoft IIS 10 Benchmark v1.2.1 - 1.7 Ensure' WebDav' feature is disabled

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target iis