Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. In Steeltoe.Management.Endpoint prior to version 4.2.0 and Steeltoe.Management.EndpointCore prior to version 3.4.0, all Steeltoe actuator endpoints default to `EndpointPermissions.Restricted`, which is mappeds to Cloud Foundry's `read_basic_data` permission (granted to Space Auditors and similar low-trust roles). Sensitive actuators including heap dump, environment, and thread dump do not raise this to `EndpointPermissions.Full`, so CF's `read_sensitive_data` permission flag is not enforced for those endpoints. Spring Boot's equivalent Cloud Foundry integration gates these endpoints with `read_sensitive_data` by default. Steeltoe.Management.Endpoint 4.2.0 and Steeltoe.Management.EndpointCore 3.4.0 patch the issue. If an immediate upgrade is not possible, explicitly set `RequiredPermissions = EndpointPermissions.Full` in the options for `HeapDumpEndpointOptions`, `EnvironmentEndpointOptions`, and `ThreadDumpEndpointOptions`; and/or if heap dump, thread dump, or environment are not needed in production, register only the required actuators individually instead of using `AddAllActuators()`.
Summary
AISteeltoe actuator endpoints default to a permission granted to Cloud Foundry Space Auditors and similar low-trust roles. Heap dump, environment, and thread dump endpoints do not require the stronger read_sensitive_data permission, so users with read_basic_data permission can access them when those endpoints are available.
Who should check
Teams running Steeltoe.Management.Endpoint before 4.2.0 or Steeltoe.Management.EndpointBase before 3.4.0 should check their deployments.
What to do
- 1Upgrade Steeltoe.Management.Endpoint to 4.2.0 and Steeltoe.Management.EndpointBase to 3.4.0.
- 2If upgrading is not immediately possible, set RequiredPermissions = EndpointPermissions.Full for HeapDumpEndpointOptions, EnvironmentEndpointOptions, and ThreadDumpEndpointOptions.
- 3If those actuators are unnecessary in production, register only the required actuators instead of using AddAllActuators().