Back to all news
Industry NewsUsama Asif4 min read

Azure API Management Flaw Exploited to Steal Secrets: What Businesses Should Do

Microsoft says a flaw in Azure API Management Classic tiers let attackers read stored secrets and keys. Fixed 19 November, but stolen credentials stay valid until rotated. What to do.

Illustrative example

Microsoft has warned that a flaw in the Classic tiers of Azure API Management was exploited to read secrets stored in customer instances, including subscription keys and client secrets. Microsoft closed the access path on 19 November 2026, but the fix does not cancel credentials already taken, so affected customers need to rotate them.

What happened

  • The service. Azure API Management (APIM) is the gateway many organisations put in front of their APIs. It stores the keys and secrets it uses to call backend systems and identity providers.
  • The timeline. BleepingComputer, Help Net Security and Techzine report that Microsoft identified the issue on 18 November and closed the access path the next day. Norway's National Security Authority (NSM) published an advisory on 20 November and updated it on 23 November.
  • How it worked. According to Microsoft's advisory, as reported by these outlets, unauthorised access to management functions, including reading secrets, was possible on instances not configured according to Microsoft's documented security guidance. Help Net Security reports that exposed instances may include Classic instances without the recommended network integration, or with secrets stored in APIM itself rather than in Azure Key Vault.
  • Which tiers. Microsoft told BleepingComputer that the Developer, Basic, Standard and Premium tiers of APIM Classic were affected. The Classic Consumption tier and all v2 tiers were not.
  • What could be read. Microsoft's list, as reported by BleepingComputer: secrets in Named Values, identity provider and OpenID Connect client secrets, subscription keys, and tokens for the direct management APIs. Microsoft warned these could give access to further applications and backend systems.
  • Who was affected. NSM says an unknown actor actively targeted access tokens, secrets and named values, and names the energy companies Equinor and Skagerak Energi among the organisations affected, along with others in several sectors in Norway and abroad. BleepingComputer reports that Equinor said the attack was stopped with no sign of data theft, and that Skagerak reported an attempt with no operational impact. Neither company's statement, as reported, names the APIM flaw.
  • What is still unknown. No CVE number has been published, according to CSO Online. NSM says it is still unclear how widely the flaw was exploited. The attacker, the number of affected customers and when the access began have not been disclosed.

What it means for businesses

Our reading, not Microsoft's:

A server-side fix does not end the incident. Microsoft told BleepingComputer its fix needed no customer action, yet it also says the fix does not invalidate credentials accessed earlier. A stolen key keeps working until the system that issued it is told to stop accepting it. As Microsoft's own rotation guidance, quoted by CSO Online, puts it, updating the value in API Management alone does not invalidate the old credential.

The gateway holds the keys to everything behind it. An API gateway is valuable to attackers precisely because it stores credentials for your ERP, CRM, payment and partner connections in one place. One exposed gateway can mean many exposed backends.

Where secrets live matters. The reported conditions point at two common shortcuts: storing secrets directly in a gateway or application setting, and leaving management endpoints reachable from the internet. Both are easy to set up and easy to forget.

What to do next

  1. Check your tier and version. If you run APIM Classic Developer, Basic, Standard or Premium, NSM advises checking the gateway's RuntimeVersion and contacting Microsoft (NSM says your supplier) if it is below the patched builds NSM lists (0.52 build 31936 or 0.53 build 31938 and later).
  2. Assume stored secrets are exposed, as NSM advises, and rotate them where they were issued, as Microsoft's guidance says: subscription keys, Named Values that hold secrets, backend credentials, connection strings, credentials written into API policies, and OAuth and OpenID Connect client secrets in the identity provider that issued them.
  3. Review logs for the APIM instance and for every backend it calls, looking for use of old keys from unfamiliar addresses.
  4. Move secrets into a vault such as Azure Key Vault and reference them from the gateway, so the next rotation is a single change.
  5. Restrict management access to private networks, following Microsoft's network guidance for APIM.
  6. Keep a credential register for every integration: what each key opens, who owns it and how to rotate it. Without one, step 2 is slow and easy to get wrong.

For another recent Microsoft cloud incident, see our article on the Entra Connect Health flaw.

Timeline Digital, a custom software development company founded in 2013 in Islamabad, builds and runs custom business software as managed projects, including API development and system integrations. On the integrations we build, API keys, tokens and database passwords live in a secrets manager, never in source code, and our security and data protection page explains how access is handled. Every project starts with a free pilot: Before you commit to the full project, we build 2 to 3 of your key modules as working software, free of charge, ready in about 2 days. Your team tests the pilot, and the full build starts only after you approve it.

Sources

Tags

  • Microsoft Azure
  • API Management
  • Cybersecurity
  • API Security
  • Secrets Management
  • Integrations

Start a conversation

Tell us how your business works.

Describe what is slowing your team down. We will help you work out what to build, and how a free pilot lets you judge our work before the full project.

Prefer WhatsApp? Start a chat

What happens next

  1. You send a short brief

    The problem, the people involved and any target date. A senior engineer replies within 4 business hours.

  2. We understand your workflow

    A first call about how your business works today. An NDA can be signed before you share details.

  3. You test a free pilot

    You choose 2 to 3 key modules and we build them first, so you judge real software before the full project.