IIS Directory Browsing Detection
ID: iis-directory-browsing
Severity: high
Author: pussycat0x
Tags: iis,windows,file,hardening
Description
Section titled “Description”Ensures IIS directory browsing is disabled to prevent exposure of file structures.
YAML Source
Section titled “YAML Source”id: iis-directory-browsing
info: name: IIS Directory Browsing Detection author: pussycat0x severity: high description: | Ensures IIS directory browsing is disabled to prevent exposure of file structures. reference: - https://wiki.devsecopsguides.com/docs/checklists/iis/ tags: iis,windows,file,hardening
file: - extensions: - all
matchers-condition: and matchers: - type: word words: - "<system.webServer>"
- type: word words: - '<directoryBrowse enabled="true" />' negative: true# digest: 4a0a00473045022100a9b78b8fd2902c89717d71b1455d7965921aeab7d00a24cdd93186e592af46ca02203d974f7dac2a56eb58d1f2d31c059d5ad2149f911f98811dcb2507092b05b420:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "file/audit/iis/iis-directory-browsing.yaml"