Microsoft has closed a security flaw in Azure API Management Classic that could allow unauthorized access to administrative functions and stored credentials. Attackers targeted secrets held in the service, according to Norway’s National Security Authority (NSM), which linked the issue to incidents involving Norwegian organizations including energy companies Equinor and Skagerak Energi.
Microsoft identified the issue on November 18 and deployed a mitigation the next day, according to a customer advisory reviewed by BleepingComputer. The company told the publication the fix had been fully deployed to Microsoft-hosted instances. But closing the access path does not revoke credentials an attacker may already have obtained.
For administrators, the immediate job is to inventory affected services, rotate potentially exposed secrets at their issuers, and investigate the systems those credentials could reach. NSM’s guidance advises organizations using API Management to assume their secrets and named values are exposed and rotate tokens and secrets.
Which Azure API Management tiers are affected?
Microsoft told BleepingComputer that the affected Classic tiers are Developer, Basic, Standard and Premium. The Classic Consumption tier and all API Management v2 tiers are not affected by this issue. Microsoft linked the risk to Classic configurations that did not follow recommended security practices; the full extent of exploitation remains unclear.
API Management sits in front of applications and services, publishing and controlling access to APIs. Its configuration can contain credentials that also work against identity providers and backend services. An exposed credential’s reach depends on its permissions and whether it remains valid, so the investigation should extend beyond the gateway itself.
Check every subscription and include development and test instances. Microsoft provides an inventory and rotation guide with Azure portal, CLI and PowerShell examples. Its cross-subscription Resource Graph example returns one page of results, so account for pagination before treating the inventory as complete.
What to rotate, and in what order
Microsoft’s guide covers subscription keys, secret named values, backend credentials, OAuth and OpenID Connect client secrets, connection strings and credentials embedded directly in policies. The customer advisory also identifies tokens used for direct management APIs as potentially exposed. Map each credential to its owner, issuer, consumers and downstream permissions before changing it.
Where two credentials can coexist, Microsoft’s recommended sequence is to create a replacement at the issuing service, update API Management, test the APIs and then revoke the old credential at its issuer. Merely replacing a value in API Management does not invalidate the previous secret. Coordinate changes with application owners to avoid interrupting production integrations, and test commands outside production first.
For subscription keys, plan a staged switch using the primary and secondary keys so callers can move before the old key is regenerated. Review secrets referenced through Key Vault as well as values stored directly in API Management; verify the source and refresh behavior in Microsoft’s guide rather than assuming every consumer has picked up a new value.
Check the fix and investigate possible use
Microsoft told BleepingComputer its November 19 remediation required no customer action for Microsoft-hosted instances. NSM nevertheless recommends checking the instance’s runtime version and contacting the provider if it has not been updated. It lists patched thresholds of 0.52.x with a final number of at least 31936 and 0.53.x with a final number of at least 31938; its advisory gives a gateway status URL and notes that those thresholds do not apply to v2 or Consumption tiers. Microsoft did not explain the difference between its deployment statement and NSM’s version-check advice to BleepingComputer.
A current runtime is not evidence that an instance was never accessed. Preserve relevant logs and review administrative activity, identity-provider sign-ins, Key Vault access and activity in services behind the gateway, concentrating on the permissions held by each potentially exposed credential. Follow the organization’s incident-response process if suspicious activity appears; absence of an obvious alert alone is not proof that no secret was accessed.
NSM says the scope and duration of exploitation are still uncertain and that it has no evidence so far that the incidents affected Norwegian organizations’ service delivery. Equinor reported stopping its attack with no indication that data was stolen or altered, while Skagerak reported an attempted attack without operational impact or evidence of information compromise, according to BleepingComputer.