All Steeltoe actuator endpoints default to EndpointPermissions.Restricted, which is mapped to Cloud Foundry's readbasicdata 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 readsensitivedata permission flag is not enforced for those endpoints. Spring Boot's equivalent Cloud Foundry integration gates these endpoints with readsensitivedata by default.
// impactAny CF user holding Space Auditor, Space Manager, or Org Auditor role can access the heap dump, environment, and thread dump actuators for any Steeltoe application in their space. A heap dump contains all in-memory data including database passwords, bearer tokens, and VCAPSERVICES credentials. CF's readsensitivedata permission, which is specifically designed to gate this access, has no effect.
// affected configuration- Application is deployed on Cloud Foundry with CF actuator and security middleware active (added automatically by AddAllActuators() when a CF environment is detected).
- The attacker holds a CF role that grants readbasicdata: Space Auditor, Space Manager, or Org Auditor.
If an immediate upgrade is not possible:
- Explicitly set RequiredPermissions = EndpointPermissions.Full in the options for HeapDumpEndpointOptions, EnvironmentEndpointOptions, and ThreadDumpEndpointOptions.
- If heap dump, thread dump, or environment are not needed in production, register only the required actuators individually instead of using AddAllActuators().
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None