Azure API Management flaw exposed secrets at Norwegian energy firms

src-f5d4baf1

A security issue in Microsoft Azure API Management (APIM) may have enabled unauthorized access to secrets held by some customers, including Norwegian energy organizations that recently disclosed cybersecurity incidents. Microsoft said it identified the issue on November 18 and closed the access path the following day. The investigation into possible exploitation and its reach remains incomplete.

APIM is a Microsoft service for publishing, securing and managing application programming interfaces. The issue concerned certain APIM Classic instances and could have exposed stored credentials and other sensitive values. Microsoft’s customer notification said an unauthorized party could have accessed secrets before the company identified the problem. APIM v2 tiers are not affected.

Secrets potentially exposed in Classic instances

The information at risk can include values stored as named values, client secrets used by identity providers, subscription keys, and tokens for APIM’s direct management APIs. Microsoft said the affected Classic tiers are those that do not follow its documented security guidance. The available information does not specify a vulnerability identifier, the number of exposed instances, or the full extent of any access.

Norway’s National Security Authority, known as NSM, said on November 20 that the issue had affected several organizations in Norway, including energy companies Equinor and Skagerak Energi. Both companies had separately reported cybersecurity incidents in the days before NSM’s statement.

Equinor disclosed an attack on November 17, a day before Microsoft identified the APIM issue. The company said it had found no evidence that data was stolen or altered. Skagerak Energi reported an incident on November 18, saying it had not affected operations or production and that the company had found no evidence that information was compromised. Those findings do not establish whether the APIM issue was used in either incident.

NSM advises replacing stored credentials

NSM said an unknown threat actor targeted tokens, secrets and named values stored in APIM. It also warned that organizations in multiple sectors, both in Norway and abroad, were affected. The authority has not publicly established how widely the weakness was exploited.

NSM advised APIM customers to treat their secrets and named values as compromised and replace them. It also recommended confirming that instances have been updated and determining what information was accessible through the service. These steps are important even when an organization has not observed suspicious activity: exposed credentials can remain usable until revoked or rotated, depending on their configuration and associated permissions.

Security expert Anders Kristiansen warned that credentials obtained from APIM could potentially be used to access external services. The practical risk would depend on the permissions granted to each credential. For defenders, that makes reviewing the scope and use of affected secrets a key part of the response, alongside replacement and validation of the APIM instance.

Response priorities for APIM customers

Organizations should first identify whether they operate APIM Classic instances, distinguish those deployments from unaffected v2 tiers, and check whether their configurations followed Microsoft’s documented guidance. They should inventory named values, identity-provider client secrets, subscription keys and direct management API tokens that may have been stored in potentially affected instances.

Where exposure is possible, customers should replace the relevant secrets and review the permissions attached to them. They should also assess which systems or third-party services those credentials could reach, and investigate for use that cannot be explained by expected activity. NSM’s recommendation to determine what data was accessible is particularly relevant because the impact depends not only on what was stored, but also on the authority granted to each credential.

The disclosures illustrate how a weakness in an API management layer can have consequences beyond the service itself: secrets stored there may provide access to other environments or services. Microsoft closed the access path after discovering the issue, but customers still need to establish whether their own instances and credentials were exposed. No information in the available details confirms the total number of affected organizations or that the two Norwegian companies experienced data theft.