Web Config Exposure

The file web.config is publicly accessible.

  • web.config
  • web
  • config
  • exposure

The web.config file is used by the Web Application Deployment tool (Web Deployment Tool) to package and deploy applications. This file contains the configuration for all the pages on the site. Thus it can reveal important information such as paths, regular expression filters and more.

Impact

Attackers can retrieve sensitive information about how the application is deployed and used.

Solution

Ensure that web.config is not publicly accessible.

Was this page helpful?