Spring Boot Misconfiguration: All Spring Boot Actuator endpoints are web exposed
Spring Boot Actuator endpoints let you monitor and interact with your application. Spring Boot includes a number of built-in endpoints and lets you add your own.
By default, all endpoints but shutdown are enabled but only health and info are exposed.
This web application is configured with management.endpoints.web.expose=*
or management.endpoints.web.exposure.include=*
that is exposing all Spring Boot Actuator endpoints.
Some Actuator endpoints like the heapdump endpoint disclose very sensitive information such as the heap dump. Make sure you restrict access to these endpoints to prevent abuse.
Make sure you only enable the Spring Boot Actuator endpoints that you really need and restrict access to these endpoints.
It's recommended to enable security for Spring Boot Actuator endpoints using the following configuration (in the Spring properties file):
management.security.enabled=true