Skip to content
Security & Trust

NSM tells Azure API Management users to rotate secrets after a patched flaw

Microsoft's advisory, as reported by The Hacker News, says it closed the access path on 19 November. NSM says the extent of exploitation is uncertain.

W
WebPulse Newsroom
AI-assisted · 4 min read
Share on X LinkedIn
NSM tells Azure API Management users to rotate secrets after a patched flaw

Graphic: WebPulse, drawn from the sourced facts in this story.

In brief
  • NSM tells everyone with Azure API Management to assume secrets and named values are exposed and to rotate all tokens and secrets. NSM says how far the flaw was exploited is unclear.
  • Microsoft's advisory names the Classic tiers and ties exposure to setups that did not follow its documented security practice. NSM and Microsoft say V2 tiers are not vulnerable.
  • APIM customers should rotate tokens and secrets and map what sits behind each gateway. Classic-tier teams should also check their runtime version against NSM's thresholds.

A patched flaw cannot say what it exposed

A patch closes a flaw. It cannot tell you what the flaw exposed while it was open. That gap is the lesson of this week's Azure API Management incident.

Norway's National Security Authority (NSM) tells customers of the service to take one precaution. It says everyone with Azure API Management should assume their secrets and named values are exposed. It asks them to rotate all tokens and secrets. That is advice against possible exposure, not a finding that anything was stolen.

The scope needs care. Microsoft's advisory names the Classic tiers. NSM says V2 and Consumption instances are not vulnerable. The sources do not say whether those users can skip rotation. NSM's instruction is addressed to everyone who has the service.

What NSM and Microsoft say happened

NSM says an unknown actor has actively gone after access tokens, secrets and named values in Azure API Management (APIM). APIM is the gateway many firms put in front of their internal and partner services.

Equinor and Skagerak Energi are among the organisations NSM says were hit. NSM does not say what, if anything, was taken from them. It says the flaw affects several sectors in Norway and bodies abroad.

NSM also says the energy sector first spotted the flaw, and it praised Equinor for early detection and quick sharing. So far, NSM has no sign that compromise or attempts have affected deliveries at Norwegian organisations.

NSM adds that the extent of the exploitation, past and present, is still unclear.

Microsoft's account of the timeline

The Hacker News reports on a non-public Microsoft advisory. In it, Microsoft says it identified the issue on 18 November. It says it closed the access path the next day.

That timeline is Microsoft's own account. The sources do not say when exploitation began. They do not say how long the flaw was open.

Microsoft's advisory says the issue affects the Classic tiers. It ties the exposure to services not set up as its security guidance advises. It says an unauthorised party could have used the issue to reach stored secrets before Microsoft found it.

The Hacker News adds that Microsoft released guidance on 21 November for finding and rotating credentials. Microsoft did not say how many customers were affected.

What is known about how it works

The sources do not describe the technical flaw. The part of Microsoft's non-public advisory quoted by The Hacker News refers only to unauthorised access to "certain management functionality". How that access led to secrets is not stated.

The sources do list what may have been reachable. This includes secrets in Named Values, which are stored settings a gateway uses at runtime. It also includes client secrets for identity providers and for OpenID Connect providers. The last item is tokens used to call management APIs.

These are high-value because they act as keys. Typically, a gateway uses such credentials to prove itself to the services behind it.

Researcher Anders Kristiansen, quoted by The Hacker News, makes the point plainly. A stolen credential may work directly against the service it guards. He says the reach depends on its permissions and whether it is still valid.

That is why rotation is the core advice. A key that leaked can keep working after the hole is shut, unless it is replaced. Replacing it is what ends its use.

NSM also notes that once a flaw is known, more actors may try it. It says fast growth in AI use affects that picture. It rates Norway's national cyber risk level as high.

How to check a Classic-tier instance

NSM gives a way to read the version. Open https://<your-gateway-hostname>/internal-status-0123456789abcdef and read the RuntimeVersion value.

NSM's thresholds apply to the Classic tier. A 0.52.x version is patched if the last number is 31936 or higher. A 0.53.x version is patched if the last number is 31938 or higher.

Other patterns, such as 0.53.4608.0 or 0.52.4150.0, point to a V2 or Consumption tier. The thresholds do not apply there, and NSM says those tiers are not vulnerable.

If your instance has not been updated, NSM asks you to contact your vendor. If you see or confirm compromise, contact NSM.

Questions to put to your team

First, do we run Azure API Management at all? If so, have we rotated every token, secret and named value? What does RuntimeVersion show on each gateway?

Second, who owns rotation? Can they replace every token, secret and named value this week?

Third, what sits behind each gateway? NSM asks firms to map that information. It helps them judge the possible scope if compromise is found.

Fourth, did our setup follow Microsoft's documented security guidance? The advisory ties exposure to setups that did not.

Last, can we tell which credentials were used from unfamiliar places? A team that cannot answer is working blind.

The vendor can close the door. Only you can change the locks.

Produced by the WebPulse Newsroom with AI assistance from the original reporting credited below, and checked against that source by our editorial review. How we use AI.
Original reporting: Norway's National Security Authority (NSM).