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.
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.
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
- Identify exposure. List APIM instances and confirm tier (
az apim list). Classic Developer, Basic, Standard and Premium are in scope. - 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.
- 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.
- 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.
- Review activity from at least the weeks before 18 November (see below), and treat unexplained secret reads as a compromise to investigate.
- Plan the migration to v2 tiers, which Microsoft says were not affected, as part of normal lifecycle planning.
- 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):
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 descAlso 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.
Related research
phpAfterShell CVE-2026-126714: A Half-Written PHP Session File Can Become Remote Code Execution
phpAfterShell (CVE-2026-126714, CVSS 4.0 9.2) is a flaw in PHP's default files session handler: an interrupted write leaves a session file that mixes new and old data, and PHP then deserializes it. It affects PHP 8.2 through 8.5, and the October PHP2Shell fixes do not cover it. Fixed in 8.2.36, 8.3.37, 8.4.28 and 8.5.13.
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.
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.