Skip to content

Control Support Impersonation

Require a named, narrow, time-limited support grant and an audit trail for every action.

A support worker who “logs in as” a customer can inherit more authority than needed. The system may also record actions as if the customer performed them. That hides who made a change. Design support access as a distinct mode with approval, limits, and visible identity. OWASP Authorization supports contextual grants and least privilege.

Support-access record

FieldRequired value
Staff actorNamed account, not shared credentials
Tenant and resourceExact case scope
PurposeTicket or incident reference
ApproverOwner or policy decision
Allowed actionsRead-only or named changes
WindowStart, expiry, and revocation
Customer noticeConsent or notice rule where required
AuditStaff identity and resulting action

The UI should show when support mode is active. Audit events should identify the staff actor and the customer tenant. Do not make them look like routine customer actions. For exports, role changes, and other sensitive effects, consider a separate approval even when read-only support access is permitted.

Test the limits

Create two synthetic tenants. Approve a narrow A support case and verify that the staff account can perform only the named action. Request B data, attempt an A member role change, and try again after expiry. Each denied action must leave records, jobs, and messages unchanged. Inspect the audit event to confirm it names the staff actor, target tenant, purpose, and decision without storing private content.

The OWASP Logging Cheat Sheet supports useful event evidence and sensitive-field exclusions. This support record is the artifact. It makes an exception to normal tenant isolation testable, but it is not a blanket grant. If the product cannot separate staff and customer identities in audit, use a safer support path rather than describing impersonation as controlled. Keep these tests in an owned environment or exact written scope.

Record the customer-visible consequence of a staff change. A support action that updates a record may trigger email or audit notifications. Those outputs must identify the staff mode accurately and must not imply the customer made the change themselves.

Find the gaps in your access controls

See how an illustrative cross-workspace finding connects evidence, impact and a fix. Discuss the tenant boundaries your team needs reviewed.

Sources

  1. OWASP Authorization Cheat SheetAccessed
  2. OWASP Logging Cheat SheetAccessed