Summary
- Attackers exploited a critical flaw in Azure API Management Classic tier instances to steal secrets and perform administrative operations.
- Norwegian energy companies Equinor and Skagerak Energi are confirmed among the affected organisations.
- Microsoft identified the issue on 18 November and automatically applied a mitigation the following day, but customers must still investigate whether they were compromised beforehand.
- Norway's National Security Authority advises all APIM users to assume secrets have been exposed and rotate all tokens and credentials immediately.
- Forgotten development and test APIM instances may leave additional organisations exposed without their knowledge.
What happened
Attackers exploited a critical vulnerability in Microsoft Azure API Management Classic tier instances, gaining unauthorised access to stored secrets and carrying out administrative operations. Microsoft issued a non-public advisory, seen by The Register, confirming the attacks had already affected at least two major energy companies. The vulnerability does not affect Azure API Management v2 customers.
Norwegian energy sector sounded the alarm
Norway's National Security Authority (NSM) credited the country's energy sector with first detecting the vulnerability. Gas giant Equinor and hydropower company Skagerak Energi were named as affected organisations. NSM commended Equinor specifically for early detection and rapid information sharing with authorities and industry partners.
What was exposed
Microsoft's advisory lists the categories of potentially exposed secrets as named values, client secrets associated with identity providers and OpenID Connect providers, subscription keys, and tokens used to call direct management APIs. Microsoft attributed the exposure to Classic-tier configurations that did not follow its published network security guidance, or that stored secrets directly in APIM rather than referencing them from Azure Key Vault.
The downstream risk goes beyond the APIM instance itself
Security expert Anders Kristiansen highlighted a risk that extends past the API management layer. Stolen credentials could potentially be used directly against the services that sit behind an APIM instance. As Kristiansen noted, what an attacker can reach depends on the credential's permissions and whether it remains valid. This means the blast radius of any compromise is not necessarily contained within Azure API Management.
Microsoft's response and remaining gaps
Microsoft said it identified the security issue on 18 November and automatically applied a mitigation to close the access path the following day. However, the company made clear that customers still need to investigate whether their instances were compromised during the window before that mitigation was applied. The extent of overall exploitation across customer tenancies remains unclear. Microsoft did not respond to a request for comment at the time of publication.
Broader implications and AI amplification
NSM stated the vulnerability affects multiple sectors both within Norway and beyond its borders, noting it is working with national and international partners on the situation. The authority also flagged that the rapid growth in artificial intelligence use is amplifying the risk of further exploitation, as AI tools lower the barrier for additional threat actors to identify and attempt to abuse newly disclosed vulnerabilities. Customers who spoke to The Register noted that abandoned development and test APIM instances could leave more organisations unknowingly exposed.
Why it matters
For CISOs with Azure API Management deployments, this incident illustrates two persistent risks. First, secrets stored directly in a managed service rather than a dedicated secrets manager create a single point of failure when that service is compromised. Second, shadow or forgotten instances in development and test environments can sit outside normal patching and monitoring cycles, leaving an organisation exposed through infrastructure it has effectively stopped managing. The Norwegian energy sector's swift detection and disclosure is a reminder that sector-level information sharing can materially reduce the window of exploitation for everyone.
What to do now
- Identify all Azure API Management Classic tier instances across your environment, including development, test and staging instances that may not be under active management.
- Check each instance's runtime version against NSM's published patch thresholds and contact your provider if any instance remains unpatched.
- Assume all secrets and named values in Classic-tier APIM instances may have been exposed and rotate all tokens, subscription keys, client secrets and credentials without delay.
- Map the information and downstream services accessible through each APIM instance to understand the potential scope of any compromise.
- Review whether secrets are stored directly in APIM or referenced from Azure Key Vault, and migrate direct storage to Key Vault in line with Microsoft's security guidance.
- Review network security configuration for all APIM instances against Microsoft's published guidance for recommended configuration.
