What is a File Discover vulnerability ?
Often associated to the Directory Indexing, this vulnerability aims at recovering the sensitive files located on a server. The targeted files are often configuration files that contain critical information for the operation of the application or website. The attacker can access this type of files if the server is not properly configured. For example, if access to indexes has not been blocked, the attacker can easily access to the sensitive files.
How to protect yourself against File Discover vulnerabilities ?
To avoid this type of vulnerability, you must follow the same procedure used for the Directory Indexing vulnerability.