Azure API Management Flaw Exploited to Steal Secrets in Attacks on Norwegian Energy Firms

Microsoft closed an Azure API Management Classic flaw an unknown attacker used to reach stored secrets, and Norway links it to attacks on Equinor and Skagerak Energi.
Microsoft Azure logo centered on a black background with orange halftone chevrons and a faint offshore energy platform silhouette

Microsoft has closed a vulnerability in Azure API Management (APIM) that an unknown attacker used to reach secrets stored in customer instances, and Norwegian authorities say the same flaw sits behind last week’s attacks on energy companies Equinor and Skagerak Energi. Microsoft identified the issue on November 18 and deployed a fix on November 19, according to a customer advisory described in reports, but the fix does not cancel any credentials that were taken before it went in.

That is why Norway’s National Security Authority (NSM) is telling every APIM customer to assume its stored secrets are already exposed.

What Microsoft told customers

Microsoft notified affected customers through an Azure Service Health security advisory, tracking ID MZK9-GH0, that has not been published on a public Microsoft page. According to reports that quote the advisory, Microsoft said its “investigation found that customers were exposed and an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances before Microsoft identified the security issue.”

The flaw reportedly gave unauthorized access to management functions on Classic tier instances that were not set up in line with Microsoft’s security guidance, or that stored secrets directly in APIM instead of referencing them from Azure Key Vault. With that access, an attacker could perform administrative operations, including reading secrets. APIM v2 tiers are not affected, Microsoft said.

The advisory lists the data that may have been exposed:

  • Secrets stored as named values
  • Client secrets for configured identity providers
  • Client secrets for OpenID Connect providers
  • Subscription keys
  • Tokens used to call the direct management APIs

Microsoft said it closed the access path and rotated Microsoft-controlled keys where appropriate. It also warned that the remediation “does not automatically invalidate credentials that may have been accessed before the fix was deployed.”

Norway connects the dots to Equinor and Skagerak

In an advisory first published November 20 and updated November 23 (in Norwegian), NSM said an unknown actor actively went after access tokens, secrets and named values in APIM. The agency named Equinor and Skagerak Energi among the organizations hit, said the vulnerability was first discovered by Norway’s energy sector, and said it affects several sectors inside and outside Norway.

The timeline lines up. Equinor disclosed an ongoing cyberattack on November 17, one day before Microsoft says it identified the flaw, and later said the attack had been stopped with no indication that data was stolen or altered. Skagerak Energi reported a possible attempted cyberattack on November 18 and said operations and production were not affected. BreachNews has followed the incident in its Equinor coverage.

NSM said it is still unclear how widely the flaw was exploited, and that it has so far seen no consequences for deliveries by Norwegian companies. It warned that more actors may now try to abuse the weakness, with AI adding to that risk. No one has attributed the activity to a named group or country.

The runtime check NSM wants everyone to run

Microsoft has said its mitigation needed no customer action. NSM still asks organizations to confirm their instance was actually updated by reading the RuntimeVersion value on the instance’s internal status page:

  • 0.52.x is patched when the last number is 31936 or higher
  • 0.53.x is patched when the last number is 31938 or higher
  • Other version patterns indicate v2 or Consumption tiers, which NSM says are not vulnerable

Lower numbers mean the instance is still exposed, according to NSM, and owners should contact Microsoft directly.

Why rotating secrets is not optional

APIM sits in front of an organization’s APIs and often holds the credentials needed to reach the services behind them. Security researcher Anders Kristiansen, who published detection guidance and hunting queries for the incident, warned that a stolen credential can be used “directly against the service it protects, outside APIM,” depending on its permissions and whether it is still valid.

Kristiansen also points to the old direct management API, which authenticates with a SharedAccessSignature token instead of Entra ID and whose calls do not appear in the Azure Activity log. Microsoft retired that API in March 2025, but retired does not mean switched off. His advice: disable it on every instance, rotate backend credentials, app secrets, subscription keys, referenced Key Vault secrets and tenant access keys, then hunt in Key Vault, sign-in and gateway logs for follow-on activity.

One administrator claimed in a public Reddit post that their company found the problem after someone used a valid administrator token to log in to its key vaults, and alleged that attackers abused an authentication bypass in a deprecated legacy API that left no customer-visible logs. Microsoft has not confirmed those details, and the exact root cause has not been published. Microsoft had not issued any public statement beyond the customer advisory at time of publication.

What APIM customers should do now

  • Check every Classic tier instance, including forgotten development and test instances, against NSM’s runtime thresholds.
  • Map which systems and data sit behind each instance so any follow-on access can be scoped.
  • Move secrets to Key Vault references and follow Microsoft’s APIM security guidance.

Stolen platform secrets have driven several recent incidents, from Railway’s decrypted customer secrets to the GitBook SSO intrusion. Our guide on how to rotate leaked API keys after a platform breach walks through the cleanup order.

Picture of m00s3c

m00s3c

Moose (@m00s3c) is the author of BreachNews, focusing on data breach intelligence, dark web monitoring, and threat analysis. His work involves analyzing breach claims, reviewing leaked datasets, and tracking threat actor activity to provide clear, factual reporting.

Latest News

BREACHNEWS.COM/SUPPORT/

Support Independent News.

Help support breach monitoring, investigations, infrastructure, and reporting.

Support the site →