Azure APIM Flaw Hits Norwegian Energy Firms In Credential Theft

Microsoft has warned customers that attackers exploited a vulnerability in Azure API Management Classic tiers to steal API credentials stored on customer instances. Norway's National Security Authority, known as NSM, has linked the flaw to recent cyberattacks against several Norwegian organizations, including two major energy companies.

Azure APIM Flaw Hits Norwegian Energy Firms In Credential Theft

Equinor and Skagerak Energi both disclosed incidents last week, although neither company has reported any impact on production or evidence of stolen data. The disclosure arrives only days after Microsoft confirmed a separate breach, in which attackers abused Entra Connect Health to harvest tenant data.

Azure API Management is a cloud service that organizations use to publish, secure, monitor, and manage APIs that connect their applications, services, and data. Microsoft notified affected customers via an Azure Service Health security advisory with tracking ID MZK9-GH0, which BleepingComputer obtained and reported on November 23.

According to the advisory, Microsoft identified the vulnerability on November 18, 2026, and deployed a mitigation that closed the unauthorized access path the following day. The company also rotated Microsoft-controlled keys and credentials where appropriate, and it confirmed that APIM v2 tiers remain unaffected by the flaw.

The vulnerability allowed attackers to access certain management functions on Classic instances that customers had not configured in accordance with recommended security best practices. Microsoft explained that this management-plane access could enable administrative operations, including secrets management, thereby giving attackers a route to sensitive stored values.

The advisory lists the following types of secrets that attackers could have accessed on vulnerable Classic instances before Microsoft deployed its fix:

  • Secrets stored in Named Values
  • Client secrets for identity providers
  • Client secrets for OpenID Connect providers
  • Subscription keys
  • Tokens used to call direct management APIs

Microsoft warned that these credentials could allow attackers to access other applications, services, or backend systems, depending on the permissions each credential grants. The company also cautioned that its fix "does not automatically invalidate credentials" that attackers may have stolen before Microsoft closed the access path. In practice, any organization running a vulnerable Classic instance must treat its stored secrets as compromised and replace them, rather than relying on the patch.

A system administrator posted on Reddit's r/sysadmin forum that their organization detected unauthorized access to Azure Key Vault using a valid administrator token. The administrator alleged that attackers exploited a zero-day authentication bypass in a deprecated legacy API to gain access to a privileged system account. They also claimed that this legacy API produced no logs, leaving customers with no practical way to detect malicious access on their own.

According to the post, Microsoft initially blamed the suspicious activity on leaked customer credentials before it deployed a global fix across the platform. BleepingComputer has not independently verified these claims, and Microsoft had not responded to the outlet's questions when it published its report.

Norwegian Energy Sector Hit First

NSM published guidance on November 20 and updated it on November 23, stating that an unknown threat actor targeted access tokens, secrets, and named values. The agency said the energy sector discovered the vulnerability first, and it confirmed that the flaw also affects other Norwegian sectors and organizations abroad.

NSM admits that it remains unclear how widely attackers have exploited the flaw, and the agency continues to map its scope and identify other victims. So far, NSM has found no evidence that the compromise or attempted compromise has disrupted deliveries at any affected Norwegian organization.

Equinor first reported an ongoing cyberattack against certain IT systems on November 17, one day before Microsoft identified the underlying APIM vulnerability. The energy giant stated that the incident was not a virus attack, and it later said the attack did not appear to target Equinor specifically. By November 20, Equinor said it had stopped the attack, with production running normally and the company seeing no sign of stolen or altered data.

The company worked with national security authorities throughout the incident and reported the attack to the police, according to its public updates. NSM's Director of Operational Cybersecurity, Martin Albert-Hoff, praised Equinor for the strong work that led to early detection of the malicious activity.

Skagerak Energi, a Norwegian energy company, also reported an attempted cyberattack and published an update on November 19 that provided a clearer picture of the events. The company stated that the incident had not affected normal operations or production and found no indication that any information had leaked.

Skagerak Energi said it had taken the necessary measures and continues to monitor its systems closely alongside relevant partners as the investigation develops. Neither company's public statements mention Azure directly, but NSM has named both firms among the organizations affected by the APIM vulnerability.

Although Microsoft has closed the vulnerability, NSM still urges every organization using APIM to act quickly and assume that attackers may have stolen its secrets. The agency stresses that a closed vulnerability does not protect secrets that attackers have already copied from vulnerable instances before the fix was applied.

The agency published a set of concrete steps that administrators can follow to assess their exposure and limit the damage from any stolen credentials:

  • Assume exposure: Treat all secrets and named values in APIM as potentially stolen, and rotate all tokens and secrets.
  • Map the data: Identify the information connected to each APIM instance to estimate the impact of a confirmed compromise.
  • Check the version: Open https:///internal-status-0123456789abcdef and read the RuntimeVersion value; version 0.52.x is patched at build 31936 or higher, and 0.53.x at build 31938 or higher.
  • Contact the provider: Reach out to the service provider directly if the instance has not received the update.
  • Report compromise: Contact NSM after spotting or confirming any signs of compromise.

NSM notes that version strings in other formats, such as 0.53.4608.0, indicate V2 or Consumption tier instances, which the flaw does not affect. Microsoft separately advises customers to rotate exposed credentials immediately, investigate systems reachable with those credentials, and review available logs for unauthorized access.

Cloud security researcher Anders Kristiansen has also released threat-hunting queries that help organizations investigate exploitation and locate credentials stored inside APIM. It remains unclear whether the runtime updates that NSM describes differ from the initial mitigation that Microsoft deployed on November 19.

The APIM disclosure follows a separate incident in which attackers exploited a flaw in the Entra Connect Health API to read tenant-level data. Entra Connect Health is a cloud service that monitors on-premises identity infrastructure, and Microsoft says it discovered the flaw on November 9, 2026.

Microsoft deployed a server-side fix on November 19 and began notifying customers on November 20 after determining that attackers had gained read-only access to metadata. The exposed information included administrator and technical contact email addresses, tenant IDs, domain names, license tiers, and directory synchronization status.

Microsoft reported no unauthorized configuration changes, and it said attackers did not access passwords, password hashes, authentication tokens, or valid cryptographic keys. However, threat actors can still use the stolen administrator email addresses to launch targeted phishing and social engineering campaigns against privileged staff.

Administrators should enforce phishing-resistant MFA on privileged accounts, and Microsoft has published a PowerShell script showing which metadata types the flaw could expose.
Microsoft has not disclosed who exploited either flaw, how many tenants the attacks affected, or whether the two incidents are connected.

Share:

facebook
X (Twitter)
linkedin
copy link
Karolis Liucveikis

Karolis Liucveikis

Experienced software engineer, passionate about behavioral analysis of malicious apps

Author and general operator of PCrisk's News and Removal Guides section. Co-researcher working alongside Tomas to discover the latest threats and global trends in the cyber security world. Karolis has experience of over 8 years working in this branch. He attended Kaunas University of Technology and graduated with a degree in Software Development in 2017. Extremely passionate about technical aspects and behavior of various malicious applications.

▼ Show Discussion

PCrisk security portal is brought by a company RCS LT.

Joined forces of security researchers help educate computer users about the latest online security threats. More information about the company RCS LT.

Our malware removal guides are free. However, if you want to support us you can send us a donation.

Donate