Detecting IIS web servers that disclose Windows 8.3 names
IIS servers are vulnerable to an information disclosure vulnerability that reveals the Windows 8.3 names of files in the web server's root folder. It is commonly known as the IIS tilde character vulnerability, and it can also be used to bypass authentication and cause denial of service conditions. Since it reveals information about files that are not publicly exposed, it can present a risk that can lead to attackers accessing hidden functionality or forgotten files such as backups. Every time you see an IIS web server, you should be checking for this vulnerability.
This recipe shows how to detect and extract the list of hosted files in IIS web servers vulnerable to Windows 8.3 name disclosure with Nmap.
How to do it...
Open your terminal and enter the following Nmap command:
$ nmap -sV --script iis-short-name-brute <target>
If the script detects that the web server is vulnerable, it will return a report...