snag.page

Every check ยท Exposed files

Spring Boot actuator

exposure/spring-actuator

What it checks

/actuator/env

Why it matters

/actuator/env shows the application's settings and environment.

How to fix it

  1. Expose only the health endpoint: management.endpoints.web.exposure.include=health.
  2. Change any secret it showed.

Check a site for this and everything else: snag.page. More on exposed files: Exposed files Keys in scripts Git repository Environment files wp-config.php copies Database dumps AWS and npm credentials Private SSH keys Editor upload settings Terraform state Git credentials Kubernetes config phpinfo() pages Debug panels Subversion and Mercurial Backup archives Password files PHP error logs Laravel logs ELMAH error logs Database admin pages Apache server-status Go's pprof docker-compose.yml Directory listings .DS_Store files WordPress users