Illustrative only - not an engagement finding
One Workload Identity Can Traverse Multiple Trust Zones
Critical
See where this finding applies on the diagrams: managed-identity edges · CP2 managed-identity edges
Illustrative only - not an engagement finding
One Workload Identity Can Traverse Multiple Trust Zones
- Business Summary
- A broadly privileged workload identity allows one compromised service to become a stepping stone into configuration, processing and data systems that should have separate trust boundaries.
- Possible Weakness
- One application identity holds broad permissions across ingress, configuration, processing and data services.
- Potential Impact
- A compromise in one workload could spread across trust zones and expose administration, credentials and sensitive data.
- What an Assessment Verifies
- List every Entra ID role assignment, the data-plane permissions on Storage, Cosmos DB and App Configuration, reachable services and the effective access available to each workload identity.
- Expected Fix
- Use a distinct Entra ID identity per workload, scope every role to the minimum operation and restrict network paths between trust zones.
- How to Check the Fix
- Each workload must complete its approved function while tests prove that it cannot read, change or administer resources assigned to another trust zone.
Cross-Reference Evidence (Illustrative). This is cross-reference evidence showing how identity configuration, role assignments and safe tests that confirm access is denied are reviewed together. In a real engagement each item below is a live pointer: a file-and-line link into the source repository, a reproducible read-only query against the deployed Azure environment, or replayable tool output. Here they lead to newly authored public demonstrations.
-
Example read-only role-assignment record
This is cross-reference evidence. A real assessment records the dated read-only query, the relevant property and the evidence limit without exposing credentials or customer data.
az resource show --ids "<illustrative-resource-id>" \ --query "properties.exampleControl" Illustrative output: {"exampleControl":"enabled"} -
Example infrastructure identity definition
This is cross-reference evidence. A real assessment links a conclusion to the reviewed commit and exact lines so another technical reader can inspect the same enforcement point.
if not policy.can_access(actor, record): raise Forbidden() -
Example denied-access test output
This is cross-reference evidence. A real report retains the command, tool version, safe input boundary and output needed to reproduce the conclusion.
security-check --target "<illustrative-target>" --format json Illustrative output: {"result":"control verified"}