Scenario note: The scenario is illustrative and is not a report of a confirmed Next Defence customer incident.
Define two tenants and one legitimate support task
The SaaS exercise needs three invented customer objects: a support ticket belonging to tenant A, a billing export for tenant B and a supplier account assigned only to tenant A. The legitimate operator reads an approved diagnostic field from A’s ticket while servicing an active request. The prohibited result is a query, object URL or queued export that returns B’s record. Use distinct tenant IDs in each layer so the team can demonstrate an actual authorisation boundary rather than relying on matching names in a user interface.
Test at the final data-retrieval layer
A gateway might inject the tenant identifier, but a background worker may use a privileged application identity when it fetches an object from storage. Review whether the tenant condition survives every hop: browser request, API, worker queue, cache, search index and export job. Compare the authenticated support agent with the tenant selected in the request body. A user-controlled customer ID must never be treated as authoritative merely because the request arrived over an encrypted connection. Include a direct object URL test in addition to the normal application screen.
Trace support grants over their lifetime
Record who requested support access, which customer consented, why the access was needed and when it should expire. A supplier identity may gain access through a broad group, a service-account role or a one-time exception that was never revoked. The exercise should simulate closing the original ticket and reusing the same credential later. Verify token invalidation, removal from background job queues and inability to retrieve a previously generated export. Do not mistake an account being hidden in the customer console for actual revocation at the storage service.
Build a defensible permission matrix
For each operation, record the initiating principal, requesting tenant, target tenant, resource type, purpose and policy decision. Include list, read, write, export and delete where the product exposes them. An engineer with permission to inspect a diagnostic trace does not thereby need to download a billing archive. Document which actions are performed with the user’s delegated authority and which use the vendor’s own application credential. A useful matrix is small enough for a support supervisor to review but specific enough to generate reproducible negative tests.
Prevent accidental bleed through caches and search
Cross-tenant mistakes can occur without a direct access-control failure if a shared cache key omits tenant context or a search index returns another customer’s document snippet. Inspect partition keys, search filters and export retention separately from API permissions. Place distinguishable fictional markers into tenant A and B documents, then search for each marker using only the opposite tenant’s identity. Include backup copies and support attachments in the review because derived data stores often lag behind the main application’s permission model.
Make enforcement failures visible to engineering
Instrument denial decisions with a request ID, principal ID, tenant ID, resource ID and policy version while avoiding disclosure of sensitive object names in public logs. Investigators must be able to distinguish a deliberate probe from an application bug that repeatedly submits the wrong tenant. Alert on successful cross-boundary tests in the staging harness and on unexpected permission changes in production. The service owner should rehearse disabling a supplier integration without bringing down normal customer self-service for unrelated tenants.
Release gate after a permission repair
The repair is not accepted when only the original test fails. Repeat a legitimate ticket read, denied billing export, cancelled support grant, queued export and cache search after deployment. Test through both the public API and the internal background path. Capture code revision, policy result, data-plane trace and the customer-support team’s sign-off. If a platform limitation prevents isolation for a specific data store, identify the affected customers and implement a short-lived containment that has an owner, scope and deadline.
Commercial implications of a failed boundary
A SaaS provider cannot treat cross-tenant permission drift as a single engineer’s bug. Customer contracts, incident notification, breach assessment, retention promises and supplier obligations may depend on what data was actually reachable. Separate an access path found in a test from evidence of an external party using that path. The risk register should state the affected feature and tenant scope and identify the records needed to verify exposure. This makes remediation proportionate and prevents an unsubstantiated statement that all customer data has been compromised.
Request variants the exercise should include
Submit a valid request with a tenant identifier changed in the URL but not in the token, then reverse the inconsistency. Check whether a support agent can enumerate identifiers by using search suggestions, pagination or error messages. A background export may package files minutes after the requesting permission is revoked; deliberately cancel a test job and verify no file is delivered. Reuse a signed link after the underlying support ticket expires, and test whether the same URL is honoured from a browser outside the authorised organisation. Where the platform uses region-specific storage, confirm that the resource boundary does not rely on a region alone. These variants test different mechanisms and should be recorded as separate results, not collapsed into one “access denied” screenshot.
Support-access edge cases
A single support request can span incident diagnosis, database inspection and delivery of a report to a customer. Each phase may use a different principal and storage system. Require the vendor to show where a customer’s consent is enforced when a support agent delegates an export to an asynchronous worker. The worker should inherit the customer and purpose boundary rather than a generic administrator grant; record which mechanism enforces that rule. If customer consent is withdrawn during processing, the workflow needs a defined cancellation point and an auditable result.
Consider a customer that migrates between regions while an older attachment remains in cold storage. The new API region must not become a substitute for tenant identity, and old support links should not silently bypass the new permission model. Test a request for that historical file and reconcile the outcome with the supplier’s retention contract. Also test an internal administrator whose organisation-wide troubleshooting role allows viewing log metadata but should not permit an unapproved customer-data export. A customer-facing permission toggle is not sufficient evidence if internal maintenance routes have broader capabilities.
When reviewing a reported cross-tenant defect, do not ask engineers to demonstrate it against customer production data. Reproduce the disputed condition with synthetic identifiers and preserved request metadata. If that is not possible, retain the allegation as an unresolved investigation item while narrowly restricting the affected permission until evidence becomes available. Update customer support instructions to prevent staff from retrying prohibited exports.
As an additional negative test, have a support supervisor who legitimately belongs to two customers try a request that names tenant A in the session but tenant B in the resource path. The service must make the decision from explicit authorised context, not whichever identifier appears last in an intermediary header.
The background-service problem
Customer-support products commonly split user interfaces from the systems that move data. A browser may show only the support agent’s permitted tenant while a worker runs with broader storage privileges to generate a zip archive. The architecture review should follow the job identifier from the interface into the message broker, export processor and object-store access decision. Record whether the originating customer, permitted operation and approval expiry survive that journey as immutable, verified context. If a job carries only a customer name provided in an HTTP request, it may be possible to confuse the worker into selecting a different account.
Test changes to identity context at the most dangerous points. Submit a support request for tenant A, modify the resource identifier to name tenant B and verify the worker rejects the mismatch. Reuse a job identifier belonging to a different customer. Attempt a copied archive link after customer support authorisation expires. Check that a revoked supplier credential cannot retrieve the archive directly from an object store even if the browser access toggle is closed. Each test must establish the actual data-plane outcome and not rely exclusively on gateway logs.
Give the support team a controlled escape route for genuine incidents. When an outage affects several customers, engineers may need broad telemetry visibility, but telemetry need not include raw customer documents. Split diagnostic metadata from file contents, require independent approval before any full export and constrain emergency privileges to a short period. Track who accessed customer information and whether a retained troubleshooting bundle has been securely deleted at the agreed time. A support workflow that is too restrictive to use will invite unmonitored workarounds.
Security acceptance should be tied to a software release and the relevant customer-facing feature. A regression suite can rerun cross-tenant tests for normal API responses, cached snippets, downloadable files and queued outputs after changes to authorisation libraries or search services. Assign a named engineering owner to each path. Customer success teams need a bounded explanation of the controls they can substantiate, especially when customers ask whether another tenant’s data was actually accessed rather than merely theoretically reachable.
Operational evidence and decision details
A worked test for tenant-scoped support access
In a multi-tenant SaaS review, make customer A and customer B hold separate fabricated documents with similar filenames. Give a support integration the minimum role needed to view customer A’s diagnostic record, then try a direct object request for customer B. The storage API must reject it even if a dashboard hides the second item. A centrally operated backup may justify exceptional broad access, but it needs independent approval, monitored use and clear separation from everyday support identities.
Field checklist for the scenario
- Confirm the sponsor and exact systems in scope: SaaS platform owner and privacy lead.
- Record the approved workflow: A support engineer investigates a customer request using tenant-scoped roles and approved diagnostic data.
- Demonstrate that the following request is denied: A workload identity established for tenant A retrieves objects or secrets belonging to tenant B.
- Collect the attributable evidence: Cloud IAM grants, storage policies, workload identity, audit logs, tenant identifiers and deployment change records.
- Document a valid exception and its expiry; consider: A central backup service may legitimately require controlled multi-tenant access.
- Define how to respond without creating this operational problem: Do not loosen production data boundaries just to make a security scanner pass.
- Run a safe recovery test proving: tenant isolation and traceable authorised support
Scope distinction: The tenant-isolation test here uses synthetic ticket and billing objects to establish whether a support identity can retrieve another customer’s data. The other checklist concentrates on over-broad support roles, diagnostic-field minimisation and delegated permissions. Companion article: SaaS Cloud Permissions Checklist: Avoid Tenant-Wide Support Access.
Sources and further reading
- https://www.cyber.gov.au/publication/essential-eight-maturity-model
- https://www.nist.gov/cyberframework
- https://csrc.nist.gov/pubs/sp/800/61/r3/final
Next steps with Next Defence
Next Defence can review SaaS support-account grants across tenant APIs, background jobs and object stores, using test tenants to demonstrate both permitted access and cross-customer denial.