Structured data rendered for: graph
Back to Blog

Azure API Management Classic Flaw Exposed Secrets: Rotate Credentials Now

Published
Updated
4 min read
Azure API Management Classic Flaw Exposed Secrets: Rotate Credentials Now

Azure API Management Classic Flaw Exposed Secrets: Rotate Credentials Now

Microsoft has closed an actively exploited security flaw in Azure API Management (APIM) Classic after Norwegian authorities linked the issue to attacks against energy companies. The immediate risk is not only whether the management-plane access path is fixed. It is whether an attacker read credentials before the fix and can still use them elsewhere.

Norway's National Security Authority (NSM) says an unknown actor actively targeted access tokens, secrets, and named values stored in APIM. Equinor and Skagerak Energi are among the affected organizations. Both companies said their production operations continued, and neither reported evidence that data was stolen or altered. The wider scope remains unclear, including how many organizations outside Norway were exposed.

What Microsoft fixed

Microsoft identified the issue on November 18 and deployed a mitigation on November 19. The affected service is the older APIM Classic deployment model. Microsoft says the Developer, Basic, Standard, and Premium tiers were affected; APIM v2 and the Consumption tier were not.

The flaw could expose management functionality on instances that did not follow Microsoft's recommended network-security configuration. It also created risk for organizations storing sensitive values directly in APIM instead of using Azure Key Vault.

Potentially exposed material includes:

  • secrets stored in Named Values
  • identity-provider and OpenID Connect client secrets
  • subscription keys
  • tokens used to call direct management APIs

Those values can become a second-stage access path. A stolen credential may work against the service or backend it protects, depending on its permissions and whether it remains valid.

Microsoft's mitigation closes the unauthorized management-plane path. It does not automatically invalidate customer credentials that may have been accessed before the fix. That distinction makes this a credential-response event, not a routine cloud-service maintenance notice.

What defenders should do now

1. Assume APIM secrets may be exposed

NSM's guidance is intentionally conservative: organizations using Azure API Management should assume their secrets and named values are at risk and rotate all tokens and secrets. Prioritize values with access to identity systems, production APIs, cloud administration, databases, and external partners.

2. Verify the runtime state

For APIM Classic instances, check the runtime version at the documented internal status endpoint:

https://<your-gateway-hostname>/internal-status-0123456789abcdef

NSM lists these thresholds:

  • 0.52.x: patched when the final number is 31936 or higher
  • 0.53.x: patched when the final number is 31938 or higher
  • version patterns such as 0.52.4150.0 or 0.53.4608.0: APIM v2 or Consumption patterns, where those thresholds do not apply

If a Classic instance is below the threshold, contact Microsoft or the relevant service provider immediately.

3. Map the blast radius

Inventory every APIM instance, including forgotten development, test, disaster-recovery, and business-unit deployments. For each instance, record the Named Values, subscription keys, identity-provider integrations, backend services, and management permissions connected to it.

This is an incident response task even when there is no confirmed data theft. The goal is to identify what an attacker could have reached before the mitigation and to make those paths invalid.

4. Hunt for downstream use

Review Azure activity logs, Key Vault logs, identity-provider logs, API gateway telemetry, and backend authentication records for:

  • token use from unfamiliar locations or infrastructure
  • access outside normal deployment and integration windows
  • unusual management operations
  • new or modified APIM values, policies, users, or backends
  • requests authenticated with credentials that should have been rotated

Preserve relevant logs before changing systems where suspicious activity is visible. A patched management plane does not erase evidence of prior access.

Why the absence of a CVE does not reduce the urgency

This issue was communicated through Azure Service Health rather than a conventional public CVE bulletin. That makes normal vulnerability feeds less useful: a scanner may not flag the exposure, and there is no CVSS score to sort against other work.

The operational signal is stronger than a score. Attackers targeted stored credentials, the issue was exploited, and the vendor's fix does not revoke customer secrets. Treat it as a high-priority vulnerability and access control incident wherever APIM Classic is present.

  1. Identify all Azure API Management instances and distinguish Classic from v2 and Consumption.
  2. Verify the runtime version and confirm the mitigation reached every Classic instance.
  3. Rotate APIM Named Values, subscription keys, access tokens, and provider secrets.
  4. Replace direct APIM secrets with Azure Key Vault references where practical.
  5. Review logs for management-plane activity and downstream credential use.
  6. Disable or restrict forgotten test and development instances.
  7. Escalate evidence of compromise to Microsoft, the relevant national CERT, and your incident-response team.

Bottom line

Microsoft has blocked the known APIM Classic access path, but the response is incomplete until potentially exposed customer credentials are rotated and their downstream use is investigated. Organizations should treat every APIM instance as an identity-and-secrets boundary: verify its runtime, map what it can reach, and assume that credentials stored there may have been copied before the mitigation.

References

  1. NSM shares measures against a vulnerability in Azure API Management
  2. Microsoft Azure flaw exploited to steal customers' API credentials
  3. Norway says hackers exploited Microsoft security flaw to attack energy firms
  4. Norway links energy firm cyberattacks to critical Azure API Management flaw

FAQ

How to cite

Lucas Oliveira. Azure API Management Classic Flaw Exposed Secrets: Rotate Credentials Now. 24 Nov 2026. Invaders Cybersecurity. https://invaders.ie/resources/blog/vulnerability/azure-api-management-classic-flaw-exposed-secrets-rotate-credentials.

Subscribe via RSS.

Written by

Lucas Oliveira

Research

A DevOps engineer and cybersecurity enthusiast with a passion for uncovering the latest in zero-day exploits, automation, and emerging tech. I write to share real-world insights from the trenches of IT and security, aiming to make complex topics more accessible and actionable. Whether I’m building tools, tracking threat actors, or experimenting with AI workflows, I’m always exploring new ways to stay one step ahead in today’s fast-moving digital landscape.