Описание
Steeltoe's sensitive actuators (heapdump/env) only require Restricted permission
Summary
All Steeltoe actuator endpoints default to EndpointPermissions.Restricted, which is mapped 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.
Impact
Any 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 VCAP_SERVICES credentials. CF's read_sensitive_data 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
read_basic_data: Space Auditor, Space Manager, or Org Auditor.
Mitigations
If an immediate upgrade is not possible:
- Explicitly set
RequiredPermissions = EndpointPermissions.Fullin the options forHeapDumpEndpointOptions,EnvironmentEndpointOptions, andThreadDumpEndpointOptions. - If heap dump, thread dump, or environment are not needed in production, register only the required actuators individually instead of using
AddAllActuators().
Ссылки
- https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-227r-jm2g-7cp4
- https://nvd.nist.gov/vuln/detail/CVE-2026-50201
- https://github.com/SteeltoeOSS/Steeltoe/commit/b39defa4db5f44f8696c456866b3a5b900d8d96b
- https://github.com/SteeltoeOSS/Steeltoe/commit/da6c604decd992f61aeef763f5814102dcb088c7
Пакеты
Steeltoe.Management.Endpoint
<= 4.1.0
4.2.0
Steeltoe.Management.EndpointBase
<= 3.3.0
3.4.0
Связанные уязвимости
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`,