Keyrook

Azure flaw let attackers steal API secrets — rotate your keys now

Microsoft found a flaw in Azure API Management on 18 November that attackers had already used to steal customers' API credentials. The fix closed the hole on 19 November but does not invalidate keys already taken.

Diagram of the secrets exposed by the Azure API Management flaw and why the fix is not enough
What was exposed, and why the fix is not enough.

Affects

  • Microsoft Azure

Microsoft has warned customers that a flaw in its Azure API Management service was already being used to steal API credentials before the company found it. Microsoft closed the hole on 19 November, but the fix does not cancel keys that attackers may already have taken — so every affected customer has to rotate them by hand.

What happened

A flaw in the Classic tiers of Azure API Management — the service companies use to publish and guard their APIs — let an unauthorised party reach the service’s management functions and read secrets stored in customer instances. Microsoft found the flaw on 18 November and deployed a fix on 19 November. The flaw was already being exploited: Norway’s National Security Authority linked it to attacks on energy companies Equinor and Skagerak Energi. Equinor spotted an attack on 17 November; Skagerak Energi reported an attempted attack on 18 November. Equinor says the attack was stopped on 20 November and it has no sign that data was stolen or changed.

Only the Classic tiers are affected — Developer, Basic, Standard and Premium. The newer v2 tiers and the Consumption tier are not. And the exposure applied to Classic instances that were not set up the way Microsoft recommends — in particular, instances storing secrets directly in API Management instead of pointing at Azure Key Vault.

What was exposed: secrets stored in Named Values, client secrets for identity providers and for OpenID Connect providers, subscription keys, and tokens used to call the direct management API. Microsoft says customers were exposed and an unauthorised party could have used the flaw to reach secrets stored in Classic instances before Microsoft found the problem.

The flaw has no CVE number and no public advisory. Microsoft told affected customers through a private Azure Service Health notice, and has not commented publicly. Norway’s security authority published its own notice on 20 November and updated it on 23 November.

What this means for you

Who has to act: anyone running Azure API Management on a Classic tier. If your instance stores secrets directly instead of referencing Key Vault, assume they are exposed. The fix Microsoft deployed on 19 November closed the way in — but a key that was already copied still works. Until you replace it, whoever holds it can keep using it.

Ordinary readers have nothing to do. No consumer passwords or personal data were reported stolen, and the flaw is in a service companies use to run their own APIs. The story matters because the keys that guard companies’ systems may already be in attackers’ hands even though Microsoft closed the hole.

The extent of the exploitation is still unclear, and no one has said who the attackers are. Norway’s authority says it has seen no sign so far that any compromise affected deliveries at Norwegian organisations.

What to do

  1. Rotate every credential your API Management instances hold or can reach. Create the replacement at the issuer first, then update API Management, test your APIs, and only then revoke the old secret — updating the value in API Management does not cancel the old credential at its issuer.
  2. Check your logs for signs of unauthorised access before 19 November, and investigate any system those credentials can reach.
  3. Check your gateway’s runtime version. Open the internal status page on your gateway’s own address and read RuntimeVersion: version 0.52.x is patched at build 31936 and above, and 0.53.x at build 31938 and above.
  4. Move secrets out of API Management and into Azure Key Vault, so a flaw like this cannot read them directly.
What to do about the Azure API flaw
What to do about the Azure API flaw

A spoken summary of what to do · 0:24

Sources

  1. Microsoft Azure flaw exploited to steal customers' API credentialsBleepingComputer
  2. Norway links energy firm cyberattacks to critical Azure API Management flawThe Register
  3. NSM deler tiltak mot sårbarhet i Azure API ManagementNational Security Authority

More news

All the news
  1. Breach Watch4 min

    Felissimo breach: up to 1.66 million email addresses exposed, plus card data from 2005

    Felissimo said on 28 November that intruders reached its email and old web-service systems, potentially exposing up to 1.66 million email addresses and card details from services shut down 20 years ago.

  2. Breach Watch4 min

    Jagex confirms RuneScape breach: change your password and reset MFA

    Jagex said on 28 November that unauthorised access may have exposed RuneScape players' email addresses, hashed passwords and authenticator data. Logins are back online — change your password and set up MFA again.

  3. Breach Watch4 min

    College Board confirms breach — passwords reset, financial-aid form offline days before deadlines

    College Board confirmed on 27 November that attackers used AI tools to exploit a signup-page flaw, viewed names and emails, and reset passwords — and its CSS Profile form is offline days before 1 December deadlines.

    • College Board