Norway’s National Security Authority (NSM) says an unknown actor has been actively looking for access tokens, secrets and named values in Azure API Management, and it tells every organisation that runs the service to assume those values are exposed and rotate them. Equinor and Skagerak Energi are among the organisations affected.

What NSM and the affected companies say

NSM published its guidance on November 20 and updated it on November 23. It says the vulnerability is now closed, that it affects several sectors in Norway and organisations outside the country, and that the energy sector was the first to detect it. Martin Albert-Hoff, head of operational cybersecurity at NSM, said “Det er fortsatt usikkert hvor omfattende utnyttelsen av sårbarheten er, og har vært” (NSM’s Norwegian wording for it remaining uncertain how extensive the exploitation is, and has been). NSM says it has so far seen no sign that a compromise or attempted compromise has affected deliveries at Norwegian organisations.

Equinor said on November 17 that it had detected an ongoing cyber-attack against certain IT systems. Its November 20 update says the attack has been stopped, production is running as normal, and there is no indication that data has been stolen or altered. Equinor also says the attack does not appear to be specifically targeting the company and that it has reported the matter to the police. Skagerak Energi said in its update that the incident has not affected normal operation or production and that there are still no indications that information has been lost. Neither company’s statement names Azure API Management. The link between those incidents and the service comes from NSM, which lists both companies among those affected.

Advertisement

CyberTech Your brand belongs here. Reach the decision-makers who read CyberTech every day. Premium placements across the site and newsletter. Advertise with us

What sat in the gateway

An API gateway sits in front of an organisation’s APIs and often holds the credentials needed to call the services behind it. Microsoft’s own credential rotation guide, posted on November 21, lists the kinds of secret an instance can hold: subscription keys, named values that contain secrets, backend credentials set as headers, query parameters or client certificates, OAuth 2.0 and OpenID Connect client secrets, connection strings such as Event Hubs loggers, and credentials written directly into policies.

That list matters because a secret taken from a gateway can be used against the service it protects. The gateway is only the place it was found. The guide says updating a value in API Management does not revoke the old credential at the issuer, so rotation has to happen at the backend service or identity provider first, then in the gateway, then the old secret gets revoked.

What NSM asks organisations to do

NSM tells every organisation that uses Azure API Management to start from the assumption that its secrets and named values are exposed, and to rotate all tokens and secrets. It also asks organisations to map what information sits behind each instance, so they can judge the potential scope if evidence of compromise turns up.

The authority gives a version check. The runtime version is read from the gateway’s status page, and an instance counts as patched on the 0.52 line when the last number is 31936 or higher, and on the 0.53 line when it is 31938 or higher. NSM says v2 and Consumption tier instances, which show other version patterns, are not vulnerable, and that a lower number means the instance is still vulnerable. An organisation whose instance has not been updated is asked to contact its supplier directly. An organisation that sees or confirms signs of compromise is asked to contact NSM.

What it means for the security leader

Three practical points follow from the primaries.

First, the patch is not the finish line. NSM’s advice treats the secrets as already out, so the work that remains sits with the customer: inventory every instance, rotate every credential, and review what each credential could reach. A closed vulnerability leaves previously read secrets valid until someone revokes them at the source.

Newsletter

Get the week's best tech coverage.

Free. Read by thousands of HR, tech, and business leaders.

Second, ownership of the inventory is often unclear. Gateway instances are created by API teams, integration teams and sometimes a single developer, and the credentials inside them touch systems owned by other teams. The security team will need a list of instances across every subscription before it can say the rotation is complete.

Third, the guide’s own best-practice list gives a design target. Microsoft recommends managed identities instead of keys and connection strings wherever they are supported, and secrets held in Azure Key Vault and referenced as named values. A gateway that holds fewer long-lived secrets gives a future vendor-side flaw less to read. A related control, limiting what a vendor-held credential can reach, is the subject of our column on pinning vendor roles in AWS to the vendor’s network addresses, and the pattern of exposure in a vendor-run service appeared in our report on four incident reports earlier this week.

What to do this week

Defenders running Azure API Management can work through this list in order.

  1. List every API Management instance across all accessible subscriptions, including test and legacy ones.
  2. Read the runtime version of each Classic instance and compare it with NSM’s thresholds. Contact the supplier for any instance below them.
  3. Rotate subscription keys, secret named values, backend credentials, identity provider client secrets and connection strings, using the order in Microsoft’s guide: create the replacement at the issuer, update the gateway, test, then revoke the old secret.
  4. Check the logs of the services those credentials reach for use that the owning team cannot explain, and contact NSM if you see or confirm compromise.
  5. Move remaining long-lived secrets to Key Vault references or managed identities, and record who owns each gateway.

NSM and Microsoft have not said how many customers are affected, and the public record does not name the actor. Both facts may change as the investigations continue, and we will update this report if either primary does.

Source: Nasjonal sikkerhetsmyndighet (NSM), NSM deler tiltak mot sårbarhet i Azure API Management