Spring Boot Actuators provide production-ready features to monitor and manage your application. While incredibly useful for developers and operations teams, misconfigured or exposed Actuator endpoints can introduce significant security risks. This document outlines how to identify, exploit, and bypass common configurations of Spring Boot Actuator endpoints.
Spring Boot Actuators expose various operational information about the running application, such as health, metrics, info, environment properties, and more. It's crucial to understand the differences in endpoint exposure between Spring Boot 1.x and 2.x+:
- Spring Boot 1.x: Actuator endpoints were typically exposed directly at the root context (e.g.,
/health
,/env
,/metrics
). - Spring Boot 2.x+: By default, Actuator endpoints are exposed under the
/actuator/
base path (e.g.,/actuator/health
,/actuator/env
).