Azure API Management flaw exploited: what to do with your secrets
By Jorge Graells · November 23, 2026 at 9:04 PM UTC · 6 min read
Updated:
Microsoft confirms the flaw in the Classic tiers of Azure API Management that Norway links to the attacks on Equinor and Skagerak Energi. It closed it on 19 November, but that doesn't invalidate keys stolen before: if you use it, rotate them.
Azure API Management flaw exploited: what to do with your secrets
- Type
- News
- Author
- Jorge Graells
- Date
- Updated
- Reading time
- 6 min read
- Topics
- Cybersecurity
- Subjects
Summary
Microsoft confirms the flaw in the Classic tiers of Azure API Management that Norway links to the attacks on Equinor and Skagerak Energi. It closed it on 19 November, but that doesn't invalidate keys stolen before: if you use it, rotate them.
Norway's National Security Authority (NSM) has linked last week's cyberattacks on energy companies Equinor and Skagerak Energi to a flaw in Azure API Management, a Microsoft cloud service many companies use to manage and secure connections between their applications. As reported by The Record1, NSM said on Friday that an unidentified attacker has been going after access tokens and other sensitive information stored in the service, and that organisations across several sectors, in Norway and abroad, are affected.
If your company runs applications on Azure, it is worth spending some time today checking whether you use this service and where its passwords are kept.
I'll update this story when Microsoft or the authorities publish new information.
◢What is Azure API Management?
It sits in front of a company's APIs: it receives requests from applications, checks that the caller is allowed in and forwards them to the right system. To do that job it usually stores credentials: subscription keys, secrets for connecting to other services, certificates and connection strings.
That is what makes it such an attractive target. Whoever manages to read those secrets doesn't just get into API Management, but potentially into everything behind it.
◢What happened at Equinor and Skagerak Energi
Equinor, one of Europe's largest gas suppliers, detected the attack on Tuesday 17 November and did not fully contain it until Friday, according to The Record. The incident disrupted some internal services, but oil and gas production carried on as normal. The company says there is no indication that data was stolen or altered, and that the attack did not appear to target it specifically.
Skagerak Energi, which produces and distributes electricity, disclosed a separate cyberattack on Wednesday. It says its operations and power production were not affected and it has found no sign that information was compromised.
According to NSM, the flaw was first discovered by Norway's energy sector, with Equinor playing a key role in identifying it and alerting the authorities.
◢What Microsoft says
Microsoft has confirmed the flaw. A spokesperson told The Record that the company identified and fixed a security issue affecting several tiers of Azure API Management, including Developer, Basic, Standard and Premium, that it has notified potentially affected customers and that it has given them guidance on protecting their systems. They declined to give further details.
The customer notice went out through Azure Service Health under tracking ID MZK9-GH0, as reported by BleepingComputer2, which has seen it. In it, Microsoft says it discovered the issue on 18 November in the older Classic tiers, and the following day closed the unauthorised access path and rotated the keys and credentials it controls itself where applicable. The v2 tiers are not affected.
The key part of the notice is this warning: customers were exposed, an unauthorised party could have used the issue to access secrets, and the fix does not automatically invalidate credentials that may have been accessed before it was deployed. So the patch does not protect you from whatever was already taken. According to the notice, the problem mainly affected instances not configured in line with its security recommendations, for example those storing secrets directly in API Management rather than in Azure Key Vault, the service designed to hold them.
Among the items that may have been exposed, BleepingComputer quotes the notice as listing secrets stored in named values, identity provider and OpenID Connect client secrets, subscription keys and tokens for calling the management APIs.
On Saturday, Microsoft also published a guide to finding and rotating credentials in Azure API Management3. The guide does not mention the vulnerability or the attacks in Norway.
◢What we still don't know
Microsoft has not said how many customers may have been exposed, or whether the same attacker is behind both Norwegian incidents. There is no public CVE identifier for the flaw, at least in what I've been able to read, and nobody has officially attributed the attacks to any group or country.
NSM itself acknowledges that it is unclear how widely the flaw has been exploited, or for how long. It has found no evidence that the attempts disrupted services at Norwegian organisations, but warns that now the problem is public, other attackers may try to take advantage of it. In its advisory4, NSM explains how to check whether your instance has the fix: open your instance's address in a browser followed by /internal-status-0123456789abcdef and look at the RuntimeVersion field. If it starts with 0.52, it's fixed from 0.52.31936; if it starts with 0.53, from 0.53.31938. Any other format means a v2 or Consumption instance, which isn't vulnerable. If your version is lower, NSM asks you to contact Microsoft. Microsoft, however, told BleepingComputer2 that its fix is already deployed to every instance and customers don't need to do anything, without explaining why NSM is still asking organisations to check. Check anyway.
◢What to do if your company uses Azure API Management
First, find out whether you have it and on which tier. If your IT is outsourced, ask your provider today: do we use Azure API Management? On a Classic tier? Has it received the update? Which secrets are stored in it?
If the answer is yes, the cautious approach is to treat the secrets stored in the service as exposed and change them. Microsoft's guide goes through where they usually live:
- ▹API subscription keys.
- ▹Named values that contain secrets.
- ▹Backend credentials: headers, query parameters and client certificates.
- ▹OAuth 2.0 and OpenID Connect client secrets.
- ▹Connection strings, for example to Event Hubs.
- ▹Passwords or tokens written directly into policies.
Microsoft recommends an order that avoids breaking things: create the new credential at the system that issues it, update it in API Management, test your APIs, and only then revoke the old one. It also makes an important point: updating the value in API Management does not revoke the old credential at its issuer. If you don't revoke it there, it keeps working for whoever has it.
After that, check the logs of the systems those credentials gave access to for unusual activity, and take the chance to move the secrets into Azure Key Vault if they weren't there already.
◢What to learn from this
A few days ago I wrote about the Microsoft Entra Connect Health breach, another Microsoft cloud service. They are different cases, but the lesson is the same: running a service on a big provider's cloud doesn't relieve you of deciding carefully where your secrets live.
The pieces that connect systems collect keys to many places at once. It pays to keep an inventory of which credentials each one holds, store them in a vault built for the job and be able to change them quickly when needed. If you want your technical team and management to know how to react to warnings like this, that's what I cover in my cybersecurity training.
Related documents
- Article
GL.iNet routers hacked via GoodCloud: how to check yours
On 20 November an attacker used GoodCloud, GL.iNet's remote management cloud, to run root commands on customers' routers and KVMs. GL.iNet has shipped fixed firmware, but updating does not clean a device that was already hit. What happened, how to check and what to do.
- News
pCloud Pass cyberattack: what we know and what to do if you use it
pCloud has confirmed a cyberattack on its pCloud Pass password manager after users received alerts about unknown devices connecting to their accounts. It says some email addresses were exposed and its cloud storage was not affected. What we know, what we don't and what to do.
- News
SAP confirms a security incident in its GitHub environment
SAP has confirmed a cybersecurity incident after reports that attackers stole employee tokens and got into its GitHub development environment. It says it sees no access to customer data. What we know, what we don't and what to watch if your company runs SAP.