Azure API Management Flaw Let Attackers Walk Off With Stored Secrets
Microsoft says a flaw in Azure API Management Classic tiers was exploited to read stored secrets and keys before its Nov. 19 fix; Norway's NSM links it to attacks on energy firms including Equinor. Rotating credentials is on customers.
Microsoft has told customers that a flaw in the Classic tiers of Azure API Management (APIM) was exploited to pull secrets out of customer instances, BleepingComputer reports. Microsoft says it found the problem on November 18 and closed it a day later, but the fix doesn’t cancel any credentials taken before then. Norway’s National Security Authority (NSM) ties the flaw to attacks on its energy sector, where Equinor and Skagerak Energi both reported attempted or ongoing intrusions this month.
For defenders
Affected: Azure API Management Classic, Developer, Basic, Standard and Premium tiers. Microsoft says the Classic Consumption tier and all APIM v2 tiers were not affected. No CVE or CVSS score has been published. The service health advisory carries Tracking ID MZK9-GH0.
What was exposed (per Microsoft): secrets in Named Values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens used to call the direct management APIs. Microsoft says the bug let an unauthorized party reach management functions on Classic instances that weren’t set up per its recommended practices, including secrets management.
Exploitation: KNOWN. Microsoft says customers were exposed before it found the issue. NSM’s advisory says an unknown actor went after access tokens, secrets and named values, that Norway’s energy sector found the flaw first, and that organizations in other countries and sectors were also hit. No actor has been named. An administrator on Reddit claims attackers used a valid admin token against their Key Vaults through a deprecated legacy API that left no customer-visible logs; BleepingComputer hasn’t verified that, and neither have we.
Patch status: Microsoft says its November 19 fix is fully deployed to Microsoft-hosted instances and needs no customer action. NSM still advises checking that instances are on a fixed runtime version and calling your provider if not; Microsoft hasn’t explained the difference. Researcher Anders Kristiansen has published hunting queries for possible exploitation.
ATT&CK (from the behavior described): T1552 (Unsecured Credentials), T1078.004 (Valid Accounts: Cloud Accounts).
What it means for you
This one sits deep in the plumbing companies use to connect their apps, so there’s nothing for you to install or change. The worry is what the stolen keys unlock: a company’s back-end systems, partner services or customer data. If a business you use tells you it was affected, follow its advice. It also comes days after Microsoft’s Entra Connect Health data exposure, so expect more targeted phishing aimed at IT staff.
Do this now
- List every APIM instance on a Classic Developer, Basic, Standard or Premium tier, and confirm its runtime version against NSM’s guidance.
- Rotate everything those instances held: Named Values, identity provider and OpenID Connect client secrets, subscription keys and management API tokens. Microsoft’s fix does not do this for you.
- Review logs on the systems those secrets reach (Key Vault, back-end APIs, identity providers) for access since at least early November, and run the published hunting queries.
- Plan a move to APIM v2 tiers, which Microsoft says were not affected.