Microsoft · Azure API Management (Classic tiers) · AZURE-APIM-CLASSIC
Azure API Management flaw was used to steal stored secrets: Microsoft has fixed it, but keys need rotating
Azure API Management is the Microsoft cloud service many organisations put in front of their APIs, and it stores the keys those APIs use. Microsoft told customers through an Azure Service Health notice that a flaw in the Classic tiers allowed unauthorised access to management functions, including reading stored secrets, where an instance was not set up to its security guidance, and that someone used it before Microsoft closed the route on 19 November. Norway's security authority says an unknown actor was actively looking for access tokens, secrets and named values, and that organisations in several sectors and countries were affected. There is no CVE and no public Microsoft advisory.
- Affected
- The Developer, Basic, Standard and Premium tiers of Azure API Management Classic. The Classic Consumption tier and all v2 tiers are not affected, according to Microsoft's notice as reported by BleepingComputer. Microsoft has not said how many customers were affected. What may have been read: secrets in Named Values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens for the direct management API.
- What to do
- There is nothing to install: Microsoft says the fix reached all Microsoft-hosted instances on 19 November. The fix does not cancel anything already read, so if you run a Classic instance, treat its stored secrets as exposed and rotate them, following Microsoft's guide: subscription keys, secret named values, backend credentials, OAuth and OpenID Connect client secrets, logger connection strings, credentials written into policies and the management access keys. Create the replacement at the issuer and revoke the old one there; changing the value in API Management alone does not revoke it. Then review logs and the systems those credentials could reach for activity you do not recognise, and look for subscriptions, users, policies or backends you did not create. Norway's NSM also gives a way to confirm an instance has the fix. If an agency or developer runs Azure for you, ask whether they use API Management Classic and whether the keys have been rotated.General information summarised from the vendor's advisory at the time of writing, not professional advice. Check the vendor's current advisory before acting.
- Why it’s here
- A flaw in a widely used Microsoft cloud service, used in real attacks to take the keys to other systems; fixing it was Microsoft's job, but rotating the keys is the customer's.
