Windows Short Filename Disclosure Detected on Target Web Application
Netsparker identified a Windows short file/folder name disclosure.
The vulnerability is caused by the tilde character (~) with the old DOS 8.3 name convention in an HTTP request. It allows a remote attacker to disclose file and folder names that is not supposed to be accessible.
Attackers could find important files that are normally not accessible from the outside and gain intelligence about the application infrastructure. This may cause the leakage of files containing sensitive information such as credentials, configuration files and maintenance scripts.
In order to disable short names creation, add a registry key named
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem and set its value to "1".