Microsoft has resolved a security vulnerability impacting Azure API Management (APIM) Classic tiers following notifications from national cybersecurity authorities indicating that an unidentified threat actor was actively attempting to harvest customer secrets across targeted enterprise tenants. The activity, initially identified in Norway, prompted national warnings after enterprise environments—including critical infrastructure operators—were subjected to deliberate reconnaissance and exploitation attempts.
According to disclosures shared by Norway's National Security Authority (Nasjonal sikkerhetsmyndighet, or NSM), the actor specifically sought out stored credentials, access keys, and confidential configuration tokens managed through the cloud gateway service. The incident underscores ongoing threat group interest in cloud middleware and API gateways, where a single point of structural compromise can yield direct lateral access across disparate internal backends and SaaS integrations.
Incident Overview and Discovery
The issue came to light after NSM identified unauthorized scanning and interaction patterns focused on Azure API Management deployments within Norwegian jurisdictions. The security authority confirmed that several domestic organizations were impacted, explicitly noting exposure within major commercial and energy entities, including Equinor and Skagerak Energi.
In its technical alerts, NSM noted that an unknown actor had been actively looking for vulnerabilities and configuration flaws to extract customer secrets. The targeting pattern indicated deliberate intelligence gathering rather than indiscriminate mass scanning, focusing on entities managing sensitive operational and enterprise workloads inside Microsoft's cloud infrastructure.
Upon notification, Microsoft initiated investigations and backend mitigations across the impacted cloud service architecture, issuing security guidance through its primary advisory resources to safeguard affected enterprise customer tenants.
Technical Context: Azure API Management Architecture
Azure API Management functions as an enterprise turnkey gateway that allows organizations to publish, secure, transform, and analyze internal and external APIs. Core architectures typically encompass three main layers:
- The API Gateway: Acts as the front-facing entry point, terminating incoming API requests, enforcing rate limits, inspecting authentication tokens, and routing calls downstream.
- The Management Plane: The control surface where developers and cloud engineers configure routing policies, manage client subscriptions, provision access certificates, and handle developer accounts.
- The Developer Portal: An external-facing website allowing authorized third-party developers to discover APIs, onboard applications, and generate API keys.
In legacy and long-standing production environments, many organizations continue to operate the Classic tiers (encompassing Developer, Basic, Standard, and Premium SKUs). These deployments manage significant volumes of proprietary business logic and often hold access credentials—such as OAuth client secrets, database connection strings, custom header values, and mutual TLS (mTLS) private certificates—necessary to communicate with downstream enterprise servers.
When an attacker targets the management boundary or platform-level services of an API gateway, their objective is rarely the disruption of traffic alone. Instead, access to the gateway's control state or configuration datastores provides a potent springboard: an attacker who acquires backend keys or gateway policy tokens can bypass external perimeter firewalls and query backend databases directly.
Observed Exposure and Affected Deployments
The disclosed threat activity focused primarily on extracting confidential values stored within or processed by Azure API Management. When threat actors probe cloud API management planes, targeted data objects commonly include:
- Named Values: Key-value configurations within APIM that store operational settings, shared secrets, or direct references to secrets held in Azure Key Vault.
- Backend Authentication Contexts: Basic authorization credentials, client certificates, or bearer tokens automatically appended to incoming requests by policy before forwarding to origin systems.
- Service Management Certificates: Cryptographic assets used to secure communication between administrative clients, API proxies, and internal enterprise virtual networks.
The confirmed impact on organizations such as Equinor and Skagerak Energi highlights the critical nature of identity federation and credential lifecycle governance in industrial and energy sector cloud deployments. Critical infrastructure operators often utilize hybrid cloud architectures where API gateways bridge cloud analytics platforms with on-premises supervisory networks and enterprise resource planning systems.
Deployment Scope Matrix
Organizations assessing exposure must delineate between platform tiers and managed runtime components:
| Platform Tier / Component | Operational Role | Risk and Exposure Vector |
|---|---|---|
Azure API Management Classic |
Dedicated gateway compute, management plane, and policy execution engine. | Subject to targeted probing targeting configuration parameters and secrets store. |
Named Values & Policies |
Configuration store holding static headers, tokens, and backend keys. | Primary objective of actor reconnaissance; exposure threatens downstream services. |
Downstream Enterprise APIs |
Internal databases, operational backends, and proprietary SaaS endpoints. | Secondary exposure if credentials or tokens traversing the gateway were intercepted. |
Recommended Response and Defensive Actions
Because Microsoft manages the underlying cloud infrastructure and platform code for Azure API Management, server-level patches and operational platform mitigations are applied directly across the fleet. However, tenant-side security teams must take proactive steps to confirm whether unauthorized actors obtained credentials or accessed sensitive configuration objects during the exposure window.
1. Rotate Sensitive Secrets and Named Values
Security teams should assume that any secret stored directly in cleartext within Azure API Management instances could have been subject to collection. The safest operational posture requires immediate rotation:
- Rotate all static API keys, primary subscription keys, and secondary subscription keys.
- Regenerate all static credentials maintained in APIM
Named Values. - For Named Values referencing Azure Key Vault secrets, verify Key Vault access policies and rotate the underlying secrets or certificates within the vault.
- Update authentication tokens used by upstream consumers and downstream backend endpoints.
2. Review Diagnostic and Audit Logs
Examine Azure Monitor and Azure Activity Logs for the affected subscriptions over preceding operational periods. Analysts should look for atypical administrative calls and API operations, including:
- Unusual invocations of administrative REST operations, particularly operations requesting secret retrieval or configuration exports (such as
Microsoft.ApiManagement/service/namedValues/listValue/action). - Logins or service principal actions originating from unexpected geographical locations or IP ranges.
- Unauthorized modifications to inbound or outbound API processing policies.
3. Enforce Least-Privilege Role-Based Access Control (RBAC)
Restrict permissions within the Azure Resource Manager (ARM) plane. Access to view or configure Named Values should be limited exclusively to designated service accounts using dedicated Azure RBAC roles such as API Management Service Contributor, ensuring regular read-only operators cannot retrieve unmasked secrets.
What Remains Unknown
While Microsoft and NSM have confirmed the targeted probing and subsequent mitigation of the flaw, several operational details have not been made public:
- Actor Attribution: Authorities have characterized the perpetrator simply as an "unknown actor." No formal technical attribution linking the campaign to specific state-sponsored advance persistent threat (APT) units or cybercriminal syndicates has been issued.
- Specific Vulnerability Mechanism: The exact code path, parser vulnerability, or authorization bypass mechanism within Azure API Management Classic that allowed the probing of customer secrets has not been detailed in full technical specifications.
- Full Breadth of Compromise: Outside of highlighted Norwegian enterprises, the total global count of affected commercial tenants or compromised secret values across other geographical Azure regions remains undisclosed.
Enterprise administrators should continue monitoring the official Microsoft Security Advisory Portal and tenant-specific Service Health dashboards for direct communications regarding specific tenant exposure or further required remediation procedures.



