Summary
A misconfiguration-related authorization issue in Microsoft Azure API Management allows the self-service signup flow of one tenant to be reused against another tenant by manipulating the hostname or tenant identifier.
When signup is disabled in Tenant B's UI but enabled in Tenant A, the underlying API endpoint may still accept cross-tenant registration requests based on the Host header, creating unexpected account provisioning exposure.
Affected context
This behavior appears in Azure API Management environments where:
- Self-service signup using Basic Authentication is enabled for at least one tenant (Tenant A)
- Another tenant (Tenant B) has disabled signup via the UI but relies on this setting to enforce policy
- Clients interact with the shared signup API endpoint and can influence the Host header or tenant identifier
Under these conditions, the registration flow may still accept requests targeting Tenant B, despite its UI-level signup control being disabled.
Exploit preconditions
- Attack surface: Public-facing Azure API Management signup endpoint shared across tenants
- Required access: Ability to send crafted HTTP requests to the signup API and control the Host header or tenant identifier
- Trigger point: Invocation of the self-service registration flow while Tenant A has signup enabled and Tenant B relies on UI-based signup disabling
- Why exploitation is possible: The underlying API endpoint continues to honor cross-tenant registration requests, and the UI-level control does not fully enforce or propagate a tenant-specific authorization check on the backend.
Why this happens
The underlying issue maps to CWE-284: Improper Access Control, where a control intended to restrict access (disabling signup in Tenant B) does not comprehensively govern all relevant backend behaviors.
The UI configuration for signup appears decoupled from the authorization logic of the core signup API, allowing cross-tenant requests to proceed if another tenant has enabled signup.
This results in a gap between administrative expectations (signup disabled for Tenant B) and actual access enforcement, making it possible for clients to leverage shared infrastructure and header-based routing to reach functionality that should be restricted.
Potential impact
- Tenant B accounts may be created despite signup being disabled in its UI configuration.
- Attackers could register unauthorized identities associated with Tenant B, potentially expanding their access surface.
- Administrators may have a false sense of security about tenant signup restrictions.
- Logging and audit trails may show unexpected or unapproved user provisioning within affected tenants.
General mitigation guidance
Effective mitigation relies on tightening access control enforcement and configuration alignment:
- Ensure that tenant-level signup policies are enforced at the backend API layer, not only in the UI.
- Apply explicit authorization checks that validate the target tenant's signup policy before processing registration requests.
- Restrict or validate Host headers and tenant identifiers used for routing, reducing opportunities for cross-tenant request abuse.
- Consider defense-in-depth measures such as conditional signup based on trusted origins, IP ranges, or pre-established identities.
- Use least-privilege principles so newly created accounts start with minimal access until explicitly approved.
How teams detect issues like this
Detection typically focuses on identifying unexpected account creation and misaligned configuration states:
- Monitor audit logs for accounts being created in tenants where signup is expected to be disabled.
- Use configuration compliance checks to verify that UI-level controls match backend authorization states and policies.
- Apply static and policy-based analysis on API gateway configurations to detect shared endpoints that lack tenant-scoped authorization guards.
- Incorporate automated security reviews in CI/CD and infrastructure-as-code workflows to flag Host-header-based routing without strict tenant validation.

