Azure API Management Classic Flaw Exploited to Steal Secrets, With Norwegian Energy Firms Targeted

Microsoft mitigated an actively exploited flaw in Azure API Management Classic tiers (Developer, Basic, Standard, Premium) that allowed unauthorized access to management functions and stored secrets. Norwegian authorities linked the activity to attacks on energy companies. The fix does not invalidate credentials that were already stolen, so rotation is on you.

4 min readAdvanced

Executive summary. Microsoft disclosed and mitigated an actively exploited flaw in Azure API Management (APIM) Classic tiers that allowed unauthorized access to management functions, and through them to stored secrets: named values, subscription keys, identity-provider secrets and management API tokens. Microsoft identified the issue on 18 November 2026 and deployed a service-side mitigation the next day. Affected: the Classic Developer, Basic, Standard and Premium tiers; Classic Consumption and all APIM v2 tiers were not affected. Exposure was tied to instances not configured to Microsoft's recommended practices, and to secrets stored inline instead of in Azure Key Vault. Norwegian authorities linked the activity to attacks on energy companies, reportedly including Equinor and Skagerak Energi. The point that matters most for operators: the mitigation does not invalidate credentials that were already stolen, so you need to rotate them yourself. One report says the issue has no CVE, and an unconfirmed administrator post claims a zero-day authentication bypass in a deprecated legacy API; treat that claim as unverified.

Azure APIM Classic secret exposure flow

What it is

Field Detail
Product Azure API Management (APIM) Classic
Affected tiers Developer, Basic, Standard, Premium (Classic)
Not affected Classic Consumption and all v2 tiers, per Microsoft
Impact Unauthorized access to management functions and stored secrets
At risk Named values, subscription keys, identity-provider secrets, management API tokens
Timeline Identified 18 Nov; service mitigation 19 Nov
Status Actively exploited; Microsoft advisory ID reported as MZK9-GH0; one source says there is no CVE
Context Activity tied by Norwegian authorities to attacks on energy-sector firms

Why it needs industry attention

An API gateway is a concentrator of secrets: it holds the keys that let clients call your APIs and the credentials the gateway uses to call your backends and identity providers. Reading them lets an attacker act as your gateway without touching your applications at all. That makes APIM, and its equivalents on every cloud, a crown-jewel store that is often configured once and forgotten.

Two details deserve emphasis. First, inline secrets are the exposure: where values live in Key Vault, the gateway holds a reference, not the secret. Second, a provider-side fix is not a clean-up. Microsoft closed the door, but anything taken before 19 November is still valid until you change it. Energy and critical-infrastructure targeting adds urgency, since stolen keys can sit unused for weeks.

What to do

  1. Identify exposure. List APIM instances and confirm tier (az apim list). Classic Developer, Basic, Standard and Premium are in scope.
  2. Rotate everything stored in APIM, in this order of blast radius: identity-provider/OAuth client secrets, backend credentials and certificates, named values flagged secret, subscription keys (regenerate primary and secondary), and any management API tokens.
  3. Move secrets into Key Vault and reference them as Key Vault-backed named values, using a managed identity, so the gateway never stores the plaintext.
  4. Restrict the management plane: limit who has contributor-level roles on the service, require MFA and conditional access for them, and restrict network access to management endpoints where your tier allows.
  5. Review activity from at least the weeks before 18 November (see below), and treat unexplained secret reads as a compromise to investigate.
  6. Plan the migration to v2 tiers, which Microsoft says were not affected, as part of normal lifecycle planning.
  7. Re-key downstream systems that trusted a rotated key, and watch for failures so the rotation does not cause an outage.

How to detect it

Review the Azure Activity Log for operations on the API Management resource provider, especially anything that lists or reads secrets, from unfamiliar callers or addresses. A starting point in Log Analytics (adjust the operation names to what your own logs show):

text
AzureActivity
| where TimeGenerated > ago(45d)
| where ResourceProviderValue =~ "MICROSOFT.APIMANAGEMENT"
| where OperationNameValue has_any ("listSecrets", "listValue", "listKeys")
| summarize Count = count() by Caller, CallerIpAddress, OperationNameValue, bin(TimeGenerated, 1d)
| order by TimeGenerated desc

Also look for new subscriptions, products or named values you did not create, unexpected backend or policy changes, and API traffic using a key from an unusual client or region after the exposure window.

Conclusion

This is a clean example of why secrets belong in a vault, not in the gateway, and why "the vendor patched it" is not the end of the story. Rotate what APIM held, move it to Key Vault, and read your management-plane logs from before the disclosure.

Do this now: confirm your APIM tier, rotate identity-provider secrets, backend credentials, named values and subscription keys, switch to Key Vault-backed values, and review Activity Log secret reads from the past 45 days.

Related: AiTM phishing and session-token theft in Microsoft 365, OAuth consent phishing in Entra ID, and the Learn track on API security testing.

Sources: Petri, BleepingComputer, Techzine, Security Boulevard, Incidenture. The advisory ID, attribution and the zero-day claim varied by source; Microsoft's advisory is authoritative.

HackersRoot Research · Research team

The HackersRoot research team investigates attack techniques across AI systems, cloud and identity, and enterprise networks, then publishes the detections and hardening guidance that stop them.

More from HackersRoot →

Related research

Vulnerability Intel

REDCap CVE-2026-90817: A Public Survey Link Is All It Takes to Reach the Server

REDCap runs clinical research data capture at thousands of universities and hospitals. CVE-2026-90817 is a CVSS 9.8 unauthenticated remote code execution flaw: a crafted request, using a public survey hash that invitation emails routinely expose, reaches an unintended route and then a data-import path. It is on CISA KEV and a public PoC exists. Upgrade to 16.0.49 LTS, 17.3.10 LTS or 17.4.4.

Vulnerability Intel

F5 BIG-IP: Six Critical Stack Overflows, Hotfixes Only, and the Edge Device Everyone Depends On

On 18 November F5 published six critical stack-based buffer overflow advisories for BIG-IP, rated CVSS 9.8 (v3.1) and 9.3 (v4.0). An unauthenticated remote attacker can crash the Traffic Management Microkernel, and F5 says remote code execution may be possible. No exploitation is reported, but only engineering hotfixes exist, with no workaround or scheduled release fix yet.